fix(docker-compose): add volume for uploads

This commit is contained in:
Mashiro 2021-09-29 17:59:40 +08:00 committed by Jordan Knott
parent aa84cbabb2
commit d725e42adf

View File

@ -12,6 +12,9 @@ services:
environment:
TASKCAFE_DATABASE_HOST: postgres
TASKCAFE_MIGRATE: "true"
volumes:
- taskcafe-uploads:/root/uploads
postgres:
image: postgres:12.3-alpine
restart: always
@ -22,11 +25,13 @@ services:
POSTGRES_PASSWORD: taskcafe_test
POSTGRES_DB: taskcafe
volumes:
- taskcafe-postgres:/var/lib/postgresql/data
- taskcafe-postgres:/var/lib/postgresql/data
volumes:
taskcafe-postgres:
external: false
taskcafe-uploads:
external: false
networks:
taskcafe-test: