Provide docker-compose setup for production (#1)

* chore: Add docker compose file for production

* chore: Ignoring unnecessary files after initial docker-compose setup for production environment

* chore: Switch to mariadb

* chore: Enable ssl connection for mariadb

* chore: Add ETHERPAD_PLUGINS and more env vars from the kitsteam

* chore: Add config for etherpad plugin ep_delete_after_delay

* chore: Finalize brnach

* chore: Fix wrong chartset passed to etherpad and ueberdb2 config

* docs: Add kits-specific documentation for database migration

Co-authored-by: Gerardo Navarro <gerardo@b310.de>
This commit is contained in:
Gerardo Navarro Suarez 2022-09-20 15:39:42 +02:00 committed by Gerardo Navarro
parent 80c9932008
commit 1714ff6116
6 changed files with 147 additions and 2 deletions

View file

@ -633,6 +633,29 @@
/* Override any strings found in locale directories */
"customLocaleStrings": {},
/* Disable Admin UI tests */
"enableAdminUITests": false
/*
* Allow only some file formats
*/
"ep_disable_imports": {
"allow": ["etherpad", "docx", "odt", "txt", "rtf", "pdf"]
},
/*
* Delete pads after delay
*/
"ep_delete_after_delay": {
"delay": 2592000, // thirty days, in seconds
"loop": true,
"loopDelay": 3600, // one hour, in seconds
"deleteAtStart": true,
"text": "The content of this pad has been deleted since it was older than the configured delay."
},
/*
* Configure image upload
*/
"ep_image_upload": {
"fileTypes": ["jpeg", "jpg", "bmp", "gif", "png"],
"maxFileSize": 2000000
}
}