summaryrefslogtreecommitdiff
path: root/roles/etherpad/templates/settings.json
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-08-13 16:35:47 +0100
committerJoe Carstairs <me@joeac.net>2026-08-13 16:35:47 +0100
commit9f2ebc2cce3af0e685677c23f2098c115e034adf (patch)
treebc6609cf851ee3f0a4f572d762b4ea35a34610f6 /roles/etherpad/templates/settings.json
parentf31e65c51681823ade14abad87c742101a1b823d (diff)
move ansible/ dir to root
Diffstat (limited to 'roles/etherpad/templates/settings.json')
-rw-r--r--roles/etherpad/templates/settings.json134
1 files changed, 134 insertions, 0 deletions
diff --git a/roles/etherpad/templates/settings.json b/roles/etherpad/templates/settings.json
new file mode 100644
index 0000000..7818d93
--- /dev/null
+++ b/roles/etherpad/templates/settings.json
@@ -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": {{ services.etherpad.port }},
+ "showSettingsInAdminPage": true,
+ "enableMetrics": "${ENABLE_METRICS:true}",
+ "cleanup": {
+ "enabled": false,
+ "keepRevisions": 5
+ },
+ "dbType": "sqlite",
+ "dbSettings": {
+ "filename": "var/sqlite.db"
+ },
+ "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": "{{ etherpad_admin_password }}",
+ "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:{{ services.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:{{ services.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:{{ services.etherpad.port }}/}"]
+ }
+ ]
+ }
+}