diff --git a/abra.sh b/abra.sh index 0e1ced5..f7c1f33 100644 --- a/abra.sh +++ b/abra.sh @@ -1,5 +1,5 @@ export CONFIG_VERSION=v2 export CONFIG_JS_VERSION=v2 export NGINX_CONF_VERSION=v1 -export SSO_ENTRYPOINT_VERSION=v5 +export SSO_ENTRYPOINT_VERSION=v6 export SSO_JS_VERSION=v3 diff --git a/compose.yml b/compose.yml index e270577..4edf046 100644 --- a/compose.yml +++ b/compose.yml @@ -42,7 +42,7 @@ services: target: /sso-entrypoint.sh mode: 0755 - source: sso_js - target: /sso.js.tmpl + target: /sso.js deploy: restart_policy: @@ -50,7 +50,7 @@ services: labels: - "traefik.enable=false" - "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}" - - "coop-cloud.${STACK_NAME}.version=0.5.0+v2026.2.0" + - "coop-cloud.${STACK_NAME}.version=0.5.1+v2026.2.0" - "backupbot.backup=true" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3000"] diff --git a/sso-entrypoint.sh b/sso-entrypoint.sh index 460ff46..015976e 100644 --- a/sso-entrypoint.sh +++ b/sso-entrypoint.sh @@ -16,8 +16,8 @@ VERSION_FILE="${PLUGIN_DIR}/.version" SSO_PLUGIN_VERSION="${SSO_PLUGIN_VERSION:-0.4.0}" # Copy SSO config template into place (mounted as Docker config) -if [ -f /sso.js.tmpl ]; then - cp /sso.js.tmpl /cryptpad/config/sso.js +if [ -f /sso.js ]; then + cp /sso.js /cryptpad/config/sso.js echo "[sso-entrypoint] Copied sso.js config into /cryptpad/config/sso.js" fi