diff --git a/src/docker-compose.yml b/src/docker-compose.yml index 786f4c24b..b8e65839e 100644 --- a/src/docker-compose.yml +++ b/src/docker-compose.yml @@ -27,6 +27,8 @@ services: - DJANGO_DEBUG=True # Tell Django where it is being hosted - DJANGO_BASE_URL=http://localhost:8080 + # Is this a production environment + - IS_PRODUCTION # Public site URL link - GETGOV_PUBLIC_SITE_URL=https://beta.get.gov # Set a username for accessing the registry diff --git a/src/registrar/config/settings.py b/src/registrar/config/settings.py index 87ad0ff96..c6f2190ed 100644 --- a/src/registrar/config/settings.py +++ b/src/registrar/config/settings.py @@ -210,6 +210,7 @@ TEMPLATES = [ "registrar.context_processors.language_code", "registrar.context_processors.canonical_path", "registrar.context_processors.is_demo_site", + "registrar.context_processors.is_production", ], }, }, diff --git a/src/registrar/templates/base.html b/src/registrar/templates/base.html index 26bf133c2..af432e5e9 100644 --- a/src/registrar/templates/base.html +++ b/src/registrar/templates/base.html @@ -4,9 +4,9 @@
{% if IS_PRODUCTION %} - + - {% endif %}