Skip to content

Commit c440564

Browse files
authored
chore: Update session and registration settings in docker-compose
1 parent 2c0d541 commit c440564

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/hedgedoc/docker-compose.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,13 @@ services:
2424
- CMD_DOMAIN=collab.example.com
2525
- CMD_URL_ADDPORT=false
2626
- CMD_PROTOCOL_USESSL=true
27+
- CMD_SESSION_LIFE=1209600000 # 14 days default
2728
- CMD_SESSION_SECRET="discolor-subtitle-seducing-result-ceramics" # define secret
28-
- CMD_ALLOW_EMAIL_REGISTER="false" # disallow registration
2929
- CMD_EMAIL="false" # disallow login; only guest notes
30+
- CMD_ALLOW_EMAIL_REGISTER="false" # disallow registration
31+
- CMD_ALLOW_ANONYMOUS=false
32+
- CMD_ALLOW_ANONYMOUS_EDITS=False
33+
- CMD_DEFAULT_PERMISSION=locked
3034
# ------- OAUTH SSO -------
3135
# see https://docs.goauthentik.io/integrations/services/hedgedoc/
3236
#- CMD_ALLOW_ANONYMOUS_EDITS=False

0 commit comments

Comments
 (0)