From de92e739e5b722ea5c34f4fc65a28cacbb7392f3 Mon Sep 17 00:00:00 2001 From: ChiefSoft works Date: Sun, 13 Mar 2022 03:23:07 +0000 Subject: [PATCH] Set the CI_ENV and CI_CONFIG from outside the docker container --- .htaccess | 4 ++-- docker-compose.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index afc9bc6..cfac0da 100644 --- a/.htaccess +++ b/.htaccess @@ -4,9 +4,9 @@ RewriteEngine On #RewriteBase /wrenchboard/ RewriteBase / -SetEnv CI_ENV development +#SetEnv CI_ENV development #SetEnv CI_ENV production -SetEnv CI_CONFIG test_config +#SetEnv CI_CONFIG test_config #SetEnv CI_CONFIG live_config #Removes access to the system folder by users. diff --git a/docker-compose.yml b/docker-compose.yml index f3993fc..7dc6c06 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,8 @@ services: environment: - APACHE_RUN_USER=#${UID} - APACHE_RUN_GROUP=#${UID} + - CI_ENV + - CI_CONFIG restart: unless-stopped image: registry.chiefsoft.net/wrenchbackoffice_wrenchboard-web:latest volumes: