This commit is contained in:
2022-01-13 15:42:07 +01:00
parent c12444cdae
commit 231b0e9477
3 changed files with 7 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ services:
konova:
external_links:
- postgis:db
- arnova-nginx-server:arnova
build: .
container_name: "konova-docker"
command: gunicorn konova.wsgi:application --bind 0.0.0.0:8000
@@ -30,11 +31,13 @@ services:
- POSTGRES_USER=konova
- POSTGRES_HOST=db
- REDIS_HOST=redis
- SSO_HOST=arnova
# To provide a celery worker instance, we need to add the celery worker as an own service
celery_worker:
external_links:
- postgis:db
- arnova-nginx-server:arnova
build: .
container_name: "konova-worker-docker"
command: celery -A konova worker -l INFO
@@ -50,6 +53,7 @@ services:
- POSTGRES_USER=konova
- POSTGRES_HOST=db
- REDIS_HOST=redis
- SSO_HOST=arnova
nginx:
build: ./nginx