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: environment:
TASKCAFE_DATABASE_HOST: postgres TASKCAFE_DATABASE_HOST: postgres
TASKCAFE_MIGRATE: "true" TASKCAFE_MIGRATE: "true"
volumes:
- taskcafe-uploads:/root/uploads
postgres: postgres:
image: postgres:12.3-alpine image: postgres:12.3-alpine
restart: always restart: always
@ -27,6 +30,8 @@ services:
volumes: volumes:
taskcafe-postgres: taskcafe-postgres:
external: false external: false
taskcafe-uploads:
external: false
networks: networks:
taskcafe-test: taskcafe-test: