Update docker-compose.yml
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: https://git.kobeamerijckx.com/Kobe/docupulse.git
|
||||
build: .
|
||||
command: gunicorn --bind 0.0.0.0:5000 app:app
|
||||
ports:
|
||||
- "10335:5000"
|
||||
@@ -50,7 +49,7 @@ services:
|
||||
redis:
|
||||
image: redis:7
|
||||
ports:
|
||||
- "16379:6379"
|
||||
- "26379:6379"
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
@@ -61,6 +60,7 @@ services:
|
||||
celery_worker:
|
||||
build:
|
||||
context: https://git.kobeamerijckx.com/Kobe/docupulse.git
|
||||
dockerfile: Dockerfile
|
||||
command: celery -A celery_worker.celery worker --loglevel=info
|
||||
volumes:
|
||||
- .:/app
|
||||
|
||||
Reference in New Issue
Block a user