2020-06-23 22:20:53 +02:00
|
|
|
version: "3"
|
|
|
|
services:
|
2020-07-19 00:28:25 +02:00
|
|
|
web:
|
2020-08-23 18:44:37 +02:00
|
|
|
image: taskcafe/taskcafe:latest
|
|
|
|
# build: .
|
2020-07-05 01:02:57 +02:00
|
|
|
ports:
|
2020-07-19 00:28:25 +02:00
|
|
|
- "3333:3333"
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
networks:
|
2020-08-07 03:50:35 +02:00
|
|
|
- taskcafe-test
|
2020-08-22 06:10:38 +02:00
|
|
|
environment:
|
|
|
|
TASKCAFE_DATABASE_HOST: postgres
|
|
|
|
TASKCAFE_MIGRATE: "true"
|
2020-07-19 00:28:25 +02:00
|
|
|
postgres:
|
|
|
|
image: postgres:12.3-alpine
|
2020-07-05 01:02:57 +02:00
|
|
|
restart: always
|
2020-07-19 00:28:25 +02:00
|
|
|
networks:
|
2020-08-07 03:50:35 +02:00
|
|
|
- taskcafe-test
|
2020-07-19 00:28:25 +02:00
|
|
|
environment:
|
2020-08-07 03:50:35 +02:00
|
|
|
POSTGRES_USER: taskcafe
|
|
|
|
POSTGRES_PASSWORD: taskcafe_test
|
|
|
|
POSTGRES_DB: taskcafe
|
2020-07-19 00:28:25 +02:00
|
|
|
volumes:
|
2020-08-07 03:50:35 +02:00
|
|
|
- taskcafe-postgres:/var/lib/postgresql/data
|
2020-07-19 00:28:25 +02:00
|
|
|
|
|
|
|
volumes:
|
2020-08-07 03:50:35 +02:00
|
|
|
taskcafe-postgres:
|
2020-07-19 00:28:25 +02:00
|
|
|
external: false
|
|
|
|
|
|
|
|
networks:
|
2020-08-07 03:50:35 +02:00
|
|
|
taskcafe-test:
|
2020-07-19 00:28:25 +02:00
|
|
|
driver: bridge
|