From d725e42adf216733fae345bd73ed163257bc8cce Mon Sep 17 00:00:00 2001 From: Mashiro Date: Wed, 29 Sep 2021 17:59:40 +0800 Subject: [PATCH] fix(docker-compose): add volume for uploads --- docker-compose.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2ffaacb..8d58c47 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: