fix(docker-compose): add volume for uploads
This commit is contained in:
parent
aa84cbabb2
commit
d725e42adf
@ -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
|
||||||
@ -22,11 +25,13 @@ services:
|
|||||||
POSTGRES_PASSWORD: taskcafe_test
|
POSTGRES_PASSWORD: taskcafe_test
|
||||||
POSTGRES_DB: taskcafe
|
POSTGRES_DB: taskcafe
|
||||||
volumes:
|
volumes:
|
||||||
- taskcafe-postgres:/var/lib/postgresql/data
|
- taskcafe-postgres:/var/lib/postgresql/data
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
taskcafe-postgres:
|
taskcafe-postgres:
|
||||||
external: false
|
external: false
|
||||||
|
taskcafe-uploads:
|
||||||
|
external: false
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
taskcafe-test:
|
taskcafe-test:
|
||||||
|
Loading…
Reference in New Issue
Block a user