Compare commits

..

No commits in common. "5dae6a7b913d952bb7029107b768156108d5b6ad" and "a2d5c4ddaa145cf017e1fa0ce7e84751bf2d8bdb" have entirely different histories.

3 changed files with 2 additions and 6 deletions

View File

@ -12,7 +12,6 @@ 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
@ -31,13 +30,11 @@ services:
- POSTGRES_USER=konova
- POSTGRES_HOST=db
- REDIS_HOST=redis
- SSO_HOST=CHANGE_ME_TO_SSO_HOST_URL
# 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
@ -53,7 +50,6 @@ services:
- POSTGRES_USER=konova
- POSTGRES_HOST=db
- REDIS_HOST=redis
- SSO_HOST=CHANGE_ME_TO_SSO_HOST_URL
nginx:
build: ./nginx

View File

@ -55,7 +55,7 @@ PAGE_SIZE_MAX = 100
PAGE_DEFAULT = 1
# SSO settings
SSO_SERVER_BASE = f"http://{os.environ.get('SSO_HOST')}/"
SSO_SERVER_BASE = "http://127.0.0.1:8000/"
SSO_SERVER = f"{SSO_SERVER_BASE}sso/"
SSO_PRIVATE_KEY = "QuziFeih7U8DZvQQ1riPv2MXz0ZABupHED9wjoqZAqeMQaqkqTfxJDRXgSIyASwJ"
SSO_PUBLIC_KEY = "AGGK7E8eT5X5u2GD38ygGG3GpAefmIldJiiWW7gldRPqCG1CzmUfGdvPSGDbEY2n"

View File

@ -30,7 +30,7 @@ BASE_DIR = os.path.dirname(
SECRET_KEY = '5=9-)2)h$u9=!zrhia9=lj-2#cpcb8=#$7y+)l$5tto$3q(n_+'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False
ALLOWED_HOSTS = [
"127.0.0.1",