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