2024-01-26 17:11:42 -05:00
|
|
|
# Use postgres/example user/password credentials
|
|
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
|
|
services:
|
2024-01-31 14:51:42 -05:00
|
|
|
api:
|
|
|
|
|
image: moosetheory/isl-api:0.1.1
|
|
|
|
|
restart: always
|
|
|
|
|
environment:
|
|
|
|
|
- ISL_API_DB_CONNECTION_STRING=postgres://isl:development@db:5432/isl
|
|
|
|
|
- ISL_API_HTTP_PORT=3000
|
|
|
|
|
ports:
|
|
|
|
|
- 3000:3000
|
2024-01-26 17:11:42 -05:00
|
|
|
db:
|
|
|
|
|
image: postgres
|
|
|
|
|
restart: always
|
|
|
|
|
environment:
|
|
|
|
|
POSTGRES_USER: isl
|
|
|
|
|
POSTGRES_PASSWORD: development
|
|
|
|
|
POSTGRES_DB: isl
|
|
|
|
|
volumes:
|
|
|
|
|
- ./data:/var/lib/postgresql/data
|
|
|
|
|
- ./docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
|
|
|
|
ports:
|
|
|
|
|
- 5432:5432
|
|
|
|
|
adminer:
|
|
|
|
|
image: adminer
|
|
|
|
|
restart: always
|
|
|
|
|
ports:
|
|
|
|
|
- 8080:8080
|