new flavours

root 2021-08-30 13:45:45 +02:00
parent a6f496768e
commit 5ab28bf6d9
2 changed files with 16 additions and 2 deletions

1
.gitignore vendored
View File

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

View File

@ -96,7 +96,11 @@ add-plugins: connect-saml
# docker restart isard-sso-keycloak
# 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=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
## Multisite
docker exec -ti isard-apps-wordpress /bin/sh -c "/multisite.sh"
@ -189,4 +193,13 @@ pgtuner:
upgrade-moodle:
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/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