From a464a915f061a03522a810137638f4f0cce773c3 Mon Sep 17 00:00:00 2001 From: wizzdom Date: Sun, 24 Nov 2024 09:31:42 +0000 Subject: [PATCH] hedgeodoc: add mount for banner, set default permission (#76) --- jobs/services/hedgedoc.hcl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jobs/services/hedgedoc.hcl b/jobs/services/hedgedoc.hcl index 56680e5..9b9ddf8 100644 --- a/jobs/services/hedgedoc.hcl +++ b/jobs/services/hedgedoc.hcl @@ -44,6 +44,9 @@ job "hedgedoc" { config { image = "quay.io/hedgedoc/hedgedoc:1.10.0" ports = ["http"] + volumes = [ + "/storage/nomad/hedgedoc/banner:/hedgedoc/public/banner", + ] } template { @@ -71,7 +74,7 @@ CMD_LDAP_PROVIDERNAME = "Redbrick" CMD_LDAP_USERIDFIELD = "uidNumber" CMD_LDAP_USERNAMEFIELD = "uid" CMD_SESSION_SECRET = "{{ key "hedgedoc/session/secret" }}" -CMD_DEFAULT_PERMISSION = "private" +CMD_DEFAULT_PERMISSION = "limited" # Security/Privacy CMD_HSTS_PRELOAD = "true"