summaryrefslogtreecommitdiff
path: root/etherpad/settings.json.template
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-02 22:28:13 +0100
committerJoe Carstairs <me@joeac.net>2026-07-02 22:28:13 +0100
commite39c7a47fc2063246ba74e40693658ba715e6bb1 (patch)
tree63067b42e5701ee1f128b96f4c1330652e99b40a /etherpad/settings.json.template
parent24c55e142bd15e14495901552d766866979eae86 (diff)
etherpad/settings is templated for port
Diffstat (limited to 'etherpad/settings.json.template')
-rw-r--r--etherpad/settings.json.template134
1 files changed, 134 insertions, 0 deletions
diff --git a/etherpad/settings.json.template b/etherpad/settings.json.template
new file mode 100644
index 0000000..09cf5c7
--- /dev/null
+++ b/etherpad/settings.json.template
@@ -0,0 +1,134 @@
+{
+ "title": "joeac's docs",
+ "showRecentPads": true,
+ "favicon": null,
+ "skinName": "colibris",
+ "skinVariants": "super-light-toolbar super-light-editor light-background",
+ "ip": "0.0.0.0",
+ "port": ${ETHERPAD_PORT},
+ "showSettingsInAdminPage": true,
+ "enableMetrics": "$${ENABLE_METRICS:true}",
+ "cleanup": {
+ "enabled": false,
+ "keepRevisions": 5
+ },
+ "dbType": "sqlite",
+ "dbSettings": {
+ "filename": "var/etherpad.sq3"
+ },
+ "defaultPadText" : "",
+ "padOptions": {
+ "noColors": false,
+ "showControls": true,
+ "showChat": true,
+ "showLineNumbers": true,
+ "useMonospaceFont": false,
+ "userName": null,
+ "userColor": null,
+ "rtl": false,
+ "alwaysShowChat": false,
+ "chatAndUsers": false,
+ "lang": null
+ },
+ "padShortcutEnabled" : {
+ "altF9": true,
+ "altC": true,
+ "cmdShift2": true,
+ "delete": true,
+ "return": true,
+ "esc": true,
+ "cmdS": true,
+ "tab": true,
+ "cmdZ": true,
+ "cmdY": true,
+ "cmdI": true,
+ "cmdB": true,
+ "cmdU": true,
+ "cmd5": true,
+ "cmdShiftL": true,
+ "cmdShiftN": true,
+ "cmdShift1": true,
+ "cmdShiftC": true,
+ "cmdH": true,
+ "ctrlHome": true,
+ "pageUp": true,
+ "pageDown": true
+ },
+ "updateServer": "https://etherpad.org/ep_infos",
+ "suppressErrorsInPadText": false,
+ "requireSession": false,
+ "editOnly": false,
+ "minify": true,
+ "maxAge": 21600,
+ "soffice": null,
+ "docxExport": true,
+ "allowUnknownFileEnds": true,
+ "requireAuthentication": false,
+ "requireAuthorization": false,
+ "trustProxy": false,
+ "cookie": {
+ "keyRotationInterval": 86400000,
+ "sameSite": "Lax",
+ "sessionLifetime": 864000000,
+ "sessionRefreshInterval": 86400000,
+ "sessionCleanup": true
+ },
+ "disableIPlogging": false,
+ "automaticReconnectionTimeout": 0,
+ "scrollWhenFocusLineIsOutOfViewport": {
+ "percentage": {
+ "editionAboveViewport": 0,
+ "editionBelowViewport": 0
+ },
+ "duration": 0,
+ "scrollWhenCaretIsInTheLastLineOfViewport": false,
+ "percentageToScrollWhenUserPressesArrowUp": 0
+ },
+ "users": {
+ "admin": {
+ "password": "admin",
+ "is_admin": true
+ }
+ },
+ "socketTransportProtocols" : ["websocket", "polling"],
+ "socketIo": {
+ "maxHttpBufferSize": 1000000
+ },
+ "loadTest": false,
+ "dumpOnUncleanExit": false,
+ "importExportRateLimiting": {
+ "windowMs": 90000,
+ "max": 10
+ },
+ "importMaxFileSize": 52428800, // 50 * 1024 * 1024
+ "authenticationMethod": "$${AUTHENTICATION_METHOD:sso}",
+ "enableDarkMode": "$${ENABLE_DARK_MODE:true}",
+ "enablePadWideSettings": "$${ENABLE_PAD_WIDE_SETTINGS:false}",
+ "commitRateLimiting": {
+ "duration": 1,
+ "points": 10
+ },
+ "logLayoutType": "colored",
+ "customLocaleStrings": {},
+ "enableAdminUITests": false,
+ "lowerCasePadIds": false,
+ "sso": {
+ "issuer": "$${SSO_ISSUER:http://localhost:${ETHERPAD_PORT}}",
+ "clients": [
+ {
+ "client_id": "$${ADMIN_CLIENT:admin_client}",
+ "client_secret": "$${ADMIN_SECRET:admin}",
+ "grant_types": ["authorization_code"],
+ "response_types": ["code"],
+ "redirect_uris": ["$${ADMIN_REDIRECT:http://localhost:${ETHERPAD_PORT}/admin/}"]
+ },
+ {
+ "client_id": "$${USER_CLIENT:user_client}",
+ "client_secret": "$${USER_SECRET:user}",
+ "grant_types": ["authorization_code"],
+ "response_types": ["code"],
+ "redirect_uris": ["$${USER_REDIRECT:http://localhost:${ETHERPAD_PORT}/}"]
+ }
+ ]
+ }
+}