2022-02-07 08:33:56 -05:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
colouring-london:
|
|
|
|
container_name: colouring-london
|
|
|
|
build:
|
|
|
|
context: .
|
2022-02-08 09:52:25 -05:00
|
|
|
dockerfile: Dockerfile
|
2022-02-07 08:33:56 -05:00
|
|
|
depends_on:
|
2022-02-09 06:28:07 -05:00
|
|
|
- db
|
2022-02-07 08:33:56 -05:00
|
|
|
environment:
|
2022-02-09 05:15:20 -05:00
|
|
|
DATABASE_URL: postgres://dockeruser:postgres@postgres-colouring-london:5432/colouringlondon
|
2022-02-07 08:33:56 -05:00
|
|
|
NODE_ENV: development
|
|
|
|
PORT: 8080
|
2022-02-09 04:52:12 -05:00
|
|
|
APP_COOKIE_SECRET: 123456
|
2022-02-07 08:33:56 -05:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
2022-02-09 06:28:07 -05:00
|
|
|
db:
|
2022-02-08 09:13:23 -05:00
|
|
|
container_name: postgres-colouring-london
|
2022-02-11 06:24:50 -05:00
|
|
|
image: ubuntu/postgres:13-21.10_beta
|
2022-02-07 08:33:56 -05:00
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
2022-02-08 09:05:12 -05:00
|
|
|
volumes:
|
|
|
|
- ./postgresdata:/var/lib/postgresql/data
|
2022-02-11 06:59:43 -05:00
|
|
|
- ./colouring-london/etl:/colouring-london/migrations
|
|
|
|
- ./colouring-london/etl:/colouring-london/etl
|
2022-02-08 09:05:12 -05:00
|
|
|
- ./colouring-london/init-user-db.sh:/docker-entrypoint-initdb.d/init-user-db.sh
|
2022-02-07 08:33:56 -05:00
|
|
|
restart: always
|
|
|
|
environment:
|
2022-02-07 09:16:36 -05:00
|
|
|
POSTGRES_USER: dockeruser
|
|
|
|
POSTGRES_PASSWORD: postgres
|
2022-02-09 06:28:07 -05:00
|
|
|
POSTGRES_DB: colouringlondon
|