Fix permission issues by not mounting source code

This commit is contained in:
rubenwardy 2019-11-14 23:02:36 +00:00
parent 35e1aba4ad
commit 2e14836ed6

@ -22,7 +22,7 @@ services:
- 5123:5123 - 5123:5123
volumes: volumes:
- "./data/uploads:/home/cdb/app/public/uploads" - "./data/uploads:/home/cdb/app/public/uploads"
- "./app:/home/cdb/app" - "./app:/home/cdb/appsrc"
- "./migrations:/home/cdb/migrations" - "./migrations:/home/cdb/migrations"
depends_on: depends_on:
- db - db
@ -37,6 +37,5 @@ services:
- FLASK_CONFIG=../config.cfg - FLASK_CONFIG=../config.cfg
volumes: volumes:
- "./data/uploads:/home/cdb/app/public/uploads" - "./data/uploads:/home/cdb/app/public/uploads"
- "./app:/home/cdb/app"
depends_on: depends_on:
- redis - redis