From 01ab77bca244356062b358fd5d7e1d142614b13c Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Wed, 17 Jul 2024 11:25:29 +0100 Subject: [PATCH] Remove unnecessary env vars --- config.py | 3 --- docker-compose.yml | 1 - 2 files changed, 4 deletions(-) diff --git a/config.py b/config.py index 4494281..aeae0b5 100644 --- a/config.py +++ b/config.py @@ -6,14 +6,11 @@ class Base(object): ENVIRONMENT = os.environ.get("ENVIRONMENT", "production") - SECRET_KEY = os.environ.get("SECRET_KEY") - DEBUG = strtobool(os.getenv("DEBUG", "False")) LOG_LEVEL = os.getenv("LOG_LEVEL", "info") SENTRY_DSN = os.getenv("SENTRY_DSN", "") SENTRY_SAMPLE_RATE = float(os.getenv("SENTRY_SAMPLE_RATE", "1.0")) - SENTRY_JS = os.getenv("SENTRY_JS", "") ROSETTA_API_URL = os.environ.get("ROSETTA_API_URL").rstrip("/") WAGTAIL_API_URL = os.environ.get("WAGTAIL_API_URL").rstrip("/") diff --git a/docker-compose.yml b/docker-compose.yml index 7be5e39..02c93cc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,6 @@ services: environment: - ENVIRONMENT=develop - CONFIG=config.Develop - - SECRET_KEY=abc123 - LOG_LEVEL=debug - ROSETTA_API_URL=http://afa13a7c0067b4f01991b0bad9e003a4-edf0e30af2b95f5f.elb.eu-west-2.amazonaws.com/api/v1 - WAGTAIL_API_URL=http://host.docker.internal:8000/api/v2