From f5d7d1d11117c56d9800ca82ab3fba5f685abaf8 Mon Sep 17 00:00:00 2001 From: akhil Date: Wed, 5 Jan 2022 17:26:12 +0530 Subject: [PATCH] Added basic rainloop config --- scripts/postinstall.sh | 4 ++++ templates/rainloop/application.ini | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 templates/rainloop/application.ini diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh index 7fc3afa..4117fa4 100755 --- a/scripts/postinstall.sh +++ b/scripts/postinstall.sh @@ -75,6 +75,10 @@ mkdir -p "/mnt/repo-base/volumes/nextcloud/data/rainloop-storage/_data_/_default echo "$ADD_DOMAINS" | tr "," "\n" | while read add_domain; do cp "templates/rainloop/domain-config.ini" "/mnt/repo-base/volumes/nextcloud/data/rainloop-storage/_data_/_default_/domains/$add_domain.ini" done + +mkdir "/mnt/repo-base/volumes/nextcloud/data/rainloop-storage/_data_/_default_/configs/" +cat templates/rainloop/application.ini | sed "s/@@@DOMAIN@@@/$DOMAIN/g" > "/mnt/repo-base/volumes/nextcloud/data/rainloop-storage/_data_/_default_/configs/application.ini" + chown www-data:www-data /mnt/repo-base/volumes/nextcloud/ -R echo "Creating postfix database schema" diff --git a/templates/rainloop/application.ini b/templates/rainloop/application.ini new file mode 100644 index 0000000..486ec0c --- /dev/null +++ b/templates/rainloop/application.ini @@ -0,0 +1,7 @@ +[webmail] +title = "Email - /e/" +theme = "Clear" + +[login] +default_domain = "@@@DOMAIN@@@" + -- GitLab