Merge branch 'new-flavours' into 'develop'

New flavours

See merge request digitaldemocratic/digitaldemocratic!31
Josep Maria Viñolas Auquer 2021-08-30 11:46:05 +00:00
commit f6bd22c4e0
2 changed files with 16 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
digitaldemocratic.conf digitaldemocratic.conf
docker-compose.yml docker-compose.yml
devel.yml
adminer.yml adminer.yml
pgtuner.yml pgtuner.yml
custom/ custom/

View File

@ -96,7 +96,11 @@ add-plugins: connect-saml
# docker restart isard-sso-keycloak # docker restart isard-sso-keycloak
# sleep 10 # sleep 10
# docker exec -u www-data isard-apps-nextcloud-app sh -c 'export OC_PASS=$$DDADMIN_PASSWORD && php occ user:add --password-from-env --display-name="DD Admin" --group="admin" $$DDADMIN_USER' # docker exec -u www-data isard-apps-nextcloud-app sh -c 'export OC_PASS=$$DDADMIN_PASSWORD && php occ user:add --password-from-env --display-name="DD Admin" --group="admin" $$DDADMIN_USER'
# docker exec -u www-data isard-apps-nextcloud-app sh -c 'export OC_PASS=admin && php occ user:delete admin'
# docker exec -u www-data isard-apps-nextcloud-app sh -c 'export OC_PASS=LostAdminGroup && php occ user:add --password-from-env --display-name="Admin" --group="admin" admin'
# Wordpress # Wordpress
## Multisite ## Multisite
docker exec -ti isard-apps-wordpress /bin/sh -c "/multisite.sh" docker exec -ti isard-apps-wordpress /bin/sh -c "/multisite.sh"
@ -189,4 +193,13 @@ pgtuner:
upgrade-moodle: upgrade-moodle:
docker exec -ti isard-apps-moodle php7 admin/cli/maintenance.php --enable docker exec -ti isard-apps-moodle php7 admin/cli/maintenance.php --enable
docker exec -ti isard-apps-moodle php7 admin/cli/upgrade.php --non-interactive --allow-unstable docker exec -ti isard-apps-moodle php7 admin/cli/upgrade.php --non-interactive --allow-unstable
docker exec -ti isard-apps-moodle php7 admin/cli/maintenance.php --disable docker exec -ti isard-apps-moodle php7 admin/cli/maintenance.php --disable
.PHONY: devel
devel: build
echo CUSTOM_PATH=$(CUSTOM_PATH) > .env
echo BUILD_ROOT_PATH=$(CUSTOM_PATH)/isard-sso >> .env
docker-compose -f docker-compose.yml \
-f isard-sso/docker-compose-parts/api.devel.yml \
-f isard-sso/docker-compose-parts/admin.devel.yml \
config > devel.yml