taskcafe/docker-compose.yml

34 lines
642 B
YAML
Raw Permalink Normal View History

version: "3"
services:
web:
image: taskcafe/taskcafe:latest
# build: .
ports:
- "3333:3333"
depends_on:
- postgres
networks:
2020-08-07 03:50:35 +02:00
- taskcafe-test
environment:
TASKCAFE_DATABASE_HOST: postgres
TASKCAFE_MIGRATE: "true"
postgres:
image: postgres:12.3-alpine
restart: always
networks:
2020-08-07 03:50:35 +02:00
- taskcafe-test
environment:
2020-08-07 03:50:35 +02:00
POSTGRES_USER: taskcafe
POSTGRES_PASSWORD: taskcafe_test
POSTGRES_DB: taskcafe
volumes:
2020-08-07 03:50:35 +02:00
- taskcafe-postgres:/var/lib/postgresql/data
volumes:
2020-08-07 03:50:35 +02:00
taskcafe-postgres:
external: false
networks:
2020-08-07 03:50:35 +02:00
taskcafe-test:
driver: bridge