From 3bf23c5d3b6ccb742a9c42d9215eb4d84709015f Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 11 Dec 2024 11:16:32 +0100 Subject: [PATCH] propagate DPP env var to docker --- .env.example | 1 + docker-compose.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.env.example b/.env.example index ed60e95..d8fed15 100644 --- a/.env.example +++ b/.env.example @@ -3,6 +3,7 @@ DEMO=true # note that with DEBUG=true, logs are more verbose (include tracebacks) DEBUG=true ALLOWED_HOSTS=localhost,localhost:8000,127.0.0.1, +DPP=false STATIC_ROOT=/tmp/static/ MEDIA_ROOT=/tmp/media/ diff --git a/docker-compose.yml b/docker-compose.yml index 9b82d7d..9a156c7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,7 @@ services: - ALLOWED_HOSTS=${ALLOWED_HOSTS:-$DOMAIN} - DEMO=${DEMO:-false} - PREDEFINED_TOKEN=${PREDEFINED_TOKEN:-} + - DPP=${DPP:-false} volumes: - .:/opt/devicehub-django ports: