fix(dd-ctl): added yml, adminer, nextcloud-scan
parent
2999840a5f
commit
c0818cdf8e
14
dd-ctl
14
dd-ctl
|
@ -11,6 +11,7 @@ if [ -z "$OPERATION" ]; then
|
|||
echo " Update repository: ./dd-ctl repo-update [branch-name] (defaults to master)"
|
||||
echo " Bring the current project up: ./dd-ctl all"
|
||||
echo " Build the compose files: ./dd-ctl build"
|
||||
echo " Regenerate docker-compose.yml from conf: ./dd-ctl yml"
|
||||
echo " Build the devel compose files: ./dd-ctl build-devel"
|
||||
echo " Start the project when stopped: ./dd-ctl up"
|
||||
echo " Stop the project when started: ./dd-ctl down"
|
||||
|
@ -18,6 +19,9 @@ if [ -z "$OPERATION" ]; then
|
|||
echo " Update SAML certificates: ./dd-ctl saml"
|
||||
echo " Upgrade plugins: ./dd-ctl upgrade-plugins"
|
||||
echo " Branding (custom/img, custom/menu): ./dd-ctl branding"
|
||||
echo " Restart api if changes applied (development): ./dd-ctl restart-api"
|
||||
echo " Generate adminer.yml to access DBs: ./dd-ctl adminer"
|
||||
echo " Restart api if changes applied (development): ./dd-ctl restart-api"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -417,6 +421,10 @@ if [ "$OPERATION" = "build" ]; then
|
|||
build
|
||||
fi
|
||||
|
||||
if [ "$OPERATION" = "yml" ]; then
|
||||
build_compose
|
||||
fi
|
||||
|
||||
if [ "$OPERATION" = "build-devel" ]; then
|
||||
build_compose_develop
|
||||
fi
|
||||
|
@ -488,6 +496,12 @@ if [ "$OPERATION" = "upgrade-plugins" ]; then
|
|||
upgrade_plugins_wp
|
||||
fi
|
||||
|
||||
if [ "$OPERATION" = "restart-api" ]; then
|
||||
up
|
||||
wait_for_moodle
|
||||
docker restart isard-sso-api
|
||||
fi
|
||||
|
||||
if [ "$OPERATION" = "adminer" ]; then
|
||||
extras_adminer
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue