diff --git a/docker-compose.yml b/docker-compose.yml index 62346d8..644b261 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -183,7 +183,11 @@ services: - private/document-download-api.env environment: - ANTIVIRUS_ENABLED + depends_on: + redis: + condition: service_started networks: + redis: apps: aliases: - api.document-download.localhost diff --git a/document-download-api.env.tmpl b/document-download-api.env.tmpl index b8a9bb5..ae1fed8 100644 --- a/document-download-api.env.tmpl +++ b/document-download-api.env.tmpl @@ -8,6 +8,8 @@ SERVER_NAME=api.document-download.localhost:7000 FRONTEND_HOSTNAME=frontend.document-download.localhost:7001 DOCUMENT_DOWNLOAD_API_HOSTNAME=api.document-download.localhost:7000 +REDIS_URL=redis://redis:6379/1 + ANTIVIRUS_ENABLED=0 ANTIVIRUS_API_HOST=http://antivirus-api.localhost:6016 diff --git a/document-download-frontend.env.tmpl b/document-download-frontend.env.tmpl index b6f4412..a959450 100644 --- a/document-download-frontend.env.tmpl +++ b/document-download-frontend.env.tmpl @@ -4,7 +4,7 @@ FLASK_DEBUG=1 WERKZEUG_DEBUG_PIN=off NOTIFY_ENVIRONMENT=development -SERVER_NAME=frontend.document-download.localhost:7001 +DOCUMENT_DOWNLOAD_FRONTEND_HOST_NAME=frontend.document-download.localhost:7001 API_HOST_NAME=http://notify-api.localhost:6011 DOCUMENT_DOWNLOAD_API_HOST_NAME=http://api.document-download.localhost:7000