add RESTRICT_GUEST_ACCESS to block unregistered users from all applications

This commit is contained in:
notplants
2026-04-20 17:20:24 +00:00
parent 9922390ce3
commit 38393e1fd1
4 changed files with 36 additions and 0 deletions

View File

@ -16,6 +16,7 @@ services:
- "CPAD_HTTP2_DISABLE=true"
- "CPAD_TRUST_PROXY=1"
- "CPAD_CONF=/cryptpad/config/config.js"
- "RESTRICT_GUEST_ACCESS=${RESTRICT_GUEST_ACCESS:-false}"
volumes:
- cryptpad_blob:/cryptpad/blob
- cryptpad_block:/cryptpad/block
@ -26,6 +27,8 @@ services:
configs:
- source: config_js
target: /cryptpad/config/config.js
- source: application_config_js
target: /cryptpad/customize/application_config.js
deploy:
restart_policy:
@ -86,3 +89,7 @@ configs:
name: ${STACK_NAME}_nginx_conf_${NGINX_CONF_VERSION}
file: nginx.conf.tmpl
template_driver: golang
application_config_js:
name: ${STACK_NAME}_application_config_js_${APPLICATION_CONFIG_VERSION}
file: application_config.js.tmpl
template_driver: golang