From a0e1de5f035fa21f61b1ffc77f1f6632e52ff495 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 9 Feb 2024 16:02:51 +0100 Subject: [PATCH] ci: add envvars to docker-compose-dev (#663) Signed-off-by: Alex --- .github/workflows/e2e-dispatch.yml | 1 - tools/docker/docker-compose-dev.yaml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-dispatch.yml b/.github/workflows/e2e-dispatch.yml index 8a764f336..4c310bdef 100644 --- a/.github/workflows/e2e-dispatch.yml +++ b/.github/workflows/e2e-dispatch.yml @@ -38,7 +38,6 @@ jobs: env: DJANGO_SETTINGS_MODULE: aap_eda.settings.default EDA_DEBUG: "false" - EDA_SECRET_KEY: "verysecret" run: | docker-compose -p eda -f docker-compose-dev.yaml build docker-compose -p eda -f docker-compose-dev.yaml up -d diff --git a/tools/docker/docker-compose-dev.yaml b/tools/docker/docker-compose-dev.yaml index 92c6694a2..e0743ec06 100644 --- a/tools/docker/docker-compose-dev.yaml +++ b/tools/docker/docker-compose-dev.yaml @@ -20,6 +20,8 @@ x-environment: - EDA_MAX_RUNNING_ACTIVATIONS=${EDA_MAX_RUNNING_ACTIVATIONS:-5} - EDA_ACTIVATION_RESTART_SECONDS_ON_COMPLETE=${EDA_ACTIVATION_RESTART_SECONDS_ON_COMPLETE:-60} - EDA_ACTIVATION_RESTART_SECONDS_ON_FAILURE=${EDA_ACTIVATION_RESTART_SECONDS_ON_FAILURE:-60} + - EDA_SECRET_KEY=${EDA_SECRET_KEY:-'insecure'} + - EDA_DEBUG=${EDA_DEBUG:-'True'} services: podman-pre-setup: