Fix worker start command in docker-compose.yml

This commit is contained in:
rubenwardy 2019-11-14 22:42:49 +00:00
parent df247b021e
commit b36a60d3a2
1 changed files with 3 additions and 1 deletions

View File

@ -30,9 +30,11 @@ services:
worker:
build: .
command: FLASK_CONFIG=../config.cfg celery -A app.tasks.celery worker
command: celery -A app.tasks.celery worker
env_file:
- config.env
environment:
- FLASK_CONFIG=../config.cfg
volumes:
- "./data/uploads:/home/cdb/app/public/uploads"
- "./app:/home/cdb/app"