# Docker
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user