From 218e87db0a64056353502c7ff256fe92d5612200 Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Sat, 30 Sep 2023 11:36:08 +0200 Subject: [PATCH] Enable allow_email and add post install doc --- doc/POST_INSTALL.md | 16 ++++++++++++++++ manifest.toml | 12 ++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 doc/POST_INSTALL.md diff --git a/doc/POST_INSTALL.md b/doc/POST_INSTALL.md new file mode 100644 index 0000000..fbf8d69 --- /dev/null +++ b/doc/POST_INSTALL.md @@ -0,0 +1,16 @@ +You have to configure SMTP from the web interface at https://__DOMAIN__/admin + +Visit Settings -> General and replace these values: + +- Root URL: https://__DOMAIN__ +- Default from email: listmonk <__APP__@__DOMAIN__> + +Visit Settings -> SMTP and replace with these values: + +- Host: 127.0.0.1 +- Port: 25 +- Auth protocol: PLAIN +- User: __APP__ +- Password: __MAIL_PWD__ + +Then, test the connection diff --git a/manifest.toml b/manifest.toml index 1b5ca1d..08b4076 100644 --- a/manifest.toml +++ b/manifest.toml @@ -34,9 +34,6 @@ ram.runtime = "50M" type = "group" default = "visitors" - [install.admin] - type = "user" - [resources] [resources.sources] @@ -50,7 +47,13 @@ ram.runtime = "50M" arm64.sha256 = "832c5a34ed78446c179ed5423cdbce51d3e51333c1ea6cf11c74b63e0776193a" in_subdir = false + autoupdate.strategy = "latest_github_release" + autoupdate.asset.amd64 = ".*_linux_amd64.tar.gz" + autoupdate.asset.armhf = ".*_linux_armv7.tar.gz" + autoupdate.asset.arm64 = ".*_linux_arm64.tar.gz" + [resources.system_user] + allow_email = true [resources.ports] @@ -65,10 +68,11 @@ ram.runtime = "50M" admin.auth_header = false admin.allowed = "admins" + # internal API, should not be allowed to visitors api.url = "/api" api.show_tile = false api.auth_header = false - api.allowed = "visitors" + api.allowed = "admins" [resources.apt] packages = "postgresql"