mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-12-06 01:43:12 +08:00
feat: add OC_ENABLE_GUEST_LINKS setting (#409)
Guest links are disabled by default in OpenCloud 9. Expose the switch in docker-compose.yml and document in .env.example that the feature needs the notifications service with SMTP and, on existing installations, the auth-guest service account from 'opencloud init --diff'.
This commit is contained in:
11
.env.example
11
.env.example
@@ -421,6 +421,17 @@ KC_DB_PASSWORD=
|
|||||||
# Keep it below the stop_grace_period set in yjs/yjs.yml.
|
# Keep it below the stop_grace_period set in yjs/yjs.yml.
|
||||||
#YJS_SHUTDOWN_GRACE_PERIOD_MS=
|
#YJS_SHUTDOWN_GRACE_PERIOD_MS=
|
||||||
|
|
||||||
|
### Guest Links Settings ###
|
||||||
|
# Guest links let users share files with an email address that has no account.
|
||||||
|
# The guest gets the link and later a PIN by email, so this needs a working
|
||||||
|
# notifications service: add "notifications" to START_ADDITIONAL_SERVICES and
|
||||||
|
# set at least SMTP_HOST, SMTP_PORT and SMTP_SENDER in the SMTP settings above.
|
||||||
|
# Existing installations: add the auth-guest service account to the config by
|
||||||
|
# running "opencloud init --diff" and applying the patch it writes to
|
||||||
|
# /etc/opencloud/opencloud.config.patch.
|
||||||
|
# Defaults to "false"
|
||||||
|
#OC_ENABLE_GUEST_LINKS=true
|
||||||
|
|
||||||
### Radicale Setting ###
|
### Radicale Setting ###
|
||||||
# Radicale is a small open-source CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
|
# Radicale is a small open-source CalDAV (calendars, to-do lists) and CardDAV (contacts) server.
|
||||||
# When enabled OpenCloud is configured as a reverse proxy for Radicale, providing all authenticated
|
# When enabled OpenCloud is configured as a reverse proxy for Radicale, providing all authenticated
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ services:
|
|||||||
OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:-1}"
|
OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:-1}"
|
||||||
OC_PASSWORD_POLICY_MIN_DIGITS: "${OC_PASSWORD_POLICY_MIN_DIGITS:-1}"
|
OC_PASSWORD_POLICY_MIN_DIGITS: "${OC_PASSWORD_POLICY_MIN_DIGITS:-1}"
|
||||||
OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS:-1}"
|
OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS: "${OC_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS:-1}"
|
||||||
|
# guest links
|
||||||
|
OC_ENABLE_GUEST_LINKS: "${OC_ENABLE_GUEST_LINKS:-false}"
|
||||||
# default language for services/WebUI; defaults to English, language code (ISO 639-1, e.g. de, en, fr)
|
# default language for services/WebUI; defaults to English, language code (ISO 639-1, e.g. de, en, fr)
|
||||||
OC_DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE}
|
OC_DEFAULT_LANGUAGE: ${DEFAULT_LANGUAGE}
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user