Set the CI_ENV and CI_CONFIG from outside the docker container
This commit is contained in:
@@ -4,9 +4,9 @@ RewriteEngine On
|
|||||||
#RewriteBase /wrenchboard/
|
#RewriteBase /wrenchboard/
|
||||||
RewriteBase /
|
RewriteBase /
|
||||||
|
|
||||||
SetEnv CI_ENV development
|
#SetEnv CI_ENV development
|
||||||
#SetEnv CI_ENV production
|
#SetEnv CI_ENV production
|
||||||
SetEnv CI_CONFIG test_config
|
#SetEnv CI_CONFIG test_config
|
||||||
#SetEnv CI_CONFIG live_config
|
#SetEnv CI_CONFIG live_config
|
||||||
|
|
||||||
#Removes access to the system folder by users.
|
#Removes access to the system folder by users.
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- APACHE_RUN_USER=#${UID}
|
- APACHE_RUN_USER=#${UID}
|
||||||
- APACHE_RUN_GROUP=#${UID}
|
- APACHE_RUN_GROUP=#${UID}
|
||||||
|
- CI_ENV
|
||||||
|
- CI_CONFIG
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: registry.chiefsoft.net/wrenchbackoffice_wrenchboard-web:latest
|
image: registry.chiefsoft.net/wrenchbackoffice_wrenchboard-web:latest
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user