Merge branch 'fix_docker-compose_config_environment' into 'master'
Fix docker-compose config enviroment See merge request digitaldemocratic/digitaldemocratic!1
commit
a1042c89a8
|
@ -2,3 +2,4 @@ digitaldemocratic.conf
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
**/*.yaml
|
**/*.yaml
|
||||||
custom/
|
custom/
|
||||||
|
.env
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -37,9 +37,12 @@ environment:
|
||||||
echo "BUILD_ROOT_PATH=$(CUSTOM_PATH)" >> docker-compose-parts/.env
|
echo "BUILD_ROOT_PATH=$(CUSTOM_PATH)" >> docker-compose-parts/.env
|
||||||
|
|
||||||
build: environment
|
build: environment
|
||||||
|
echo BUILD_ROOT_PATH=$(CUSTOM_PATH)/isard-sso > .env
|
||||||
docker-compose -f docker-compose-parts/backup.yml \
|
docker-compose -f docker-compose-parts/backup.yml \
|
||||||
-f docker-compose-parts/admin.yml \
|
-f docker-compose-parts/admin.yml \
|
||||||
config > dd.yml
|
config > dd.yml
|
||||||
|
echo CUSTOM_PATH=$(CUSTOM_PATH) > .env
|
||||||
|
echo BUILD_ROOT_PATH=$(CUSTOM_PATH)/isard-sso >> .env
|
||||||
docker-compose -f isard-sso/docker-compose-parts/haproxy.yml \
|
docker-compose -f isard-sso/docker-compose-parts/haproxy.yml \
|
||||||
-f isard-sso/docker-compose-parts/api.yml \
|
-f isard-sso/docker-compose-parts/api.yml \
|
||||||
-f isard-sso/docker-compose-parts/keycloak.yml \
|
-f isard-sso/docker-compose-parts/keycloak.yml \
|
||||||
|
@ -47,6 +50,7 @@ build: environment
|
||||||
-f isard-apps/docker/postgresql/postgresql.yml \
|
-f isard-apps/docker/postgresql/postgresql.yml \
|
||||||
config > sso.yml
|
config > sso.yml
|
||||||
#-f isard-sso/docker-compose-parts/freeipa.yml
|
#-f isard-sso/docker-compose-parts/freeipa.yml
|
||||||
|
echo BUILD_ROOT_PATH=$(CUSTOM_PATH)/isard-apps > .env
|
||||||
docker-compose -f isard-apps/docker/moodle/moodle.yml \
|
docker-compose -f isard-apps/docker/moodle/moodle.yml \
|
||||||
-f isard-apps/docker/nextcloud/nextcloud.yml \
|
-f isard-apps/docker/nextcloud/nextcloud.yml \
|
||||||
-f isard-apps/docker/wordpress/wordpress.yml \
|
-f isard-apps/docker/wordpress/wordpress.yml \
|
||||||
|
|
Loading…
Reference in New Issue