version: "3"
services:
web:
image: taskcafe/taskcafe:latest
container_name: tc_taskcafe
ports:
- "3533:3333"
depends_on:
- postgres
networks:
- taskcafe-test
environment:
TASKCAFE_DATABASE_HOST: postgres
TASKCAFE_MIGRATE: "true"
volumes:
- /volume2/docker/taskcafe/uploads:/root/uploads
postgres:
image: postgres:latest
container_name: tc_postgres
restart: always
networks:
- taskcafe-test
environment:
POSTGRES_USER: taskcafe
POSTGRES_PASSWORD: taskcafe_test
POSTGRES_DB: taskcafe
volumes:
- /volume2/docker/taskcafe/data:/var/lib/postgresql/data
networks:
taskcafe-test:
driver: bridge
注册:http://IP:3533/register
https://github.com/JordanKnott/taskcafe