hedgeodoc: add mount for banner, set default permission

This commit is contained in:
wizzdom 2024-11-23 02:53:07 +00:00
parent 6ae4ea0c8f
commit 31d62cd0b9
No known key found for this signature in database
GPG key ID: EEB7D796F4B09F07

View file

@ -44,6 +44,9 @@ job "hedgedoc" {
config { config {
image = "quay.io/hedgedoc/hedgedoc:1.10.0" image = "quay.io/hedgedoc/hedgedoc:1.10.0"
ports = ["http"] ports = ["http"]
volumes = [
"/storage/nomad/hedgedoc/banner:/hedgedoc/public/banner",
]
} }
template { template {
@ -71,7 +74,7 @@ CMD_LDAP_PROVIDERNAME = "Redbrick"
CMD_LDAP_USERIDFIELD = "uidNumber" CMD_LDAP_USERIDFIELD = "uidNumber"
CMD_LDAP_USERNAMEFIELD = "uid" CMD_LDAP_USERNAMEFIELD = "uid"
CMD_SESSION_SECRET = "{{ key "hedgedoc/session/secret" }}" CMD_SESSION_SECRET = "{{ key "hedgedoc/session/secret" }}"
CMD_DEFAULT_PERMISSION = "private" CMD_DEFAULT_PERMISSION = "limited"
# Security/Privacy # Security/Privacy
CMD_HSTS_PRELOAD = "true" CMD_HSTS_PRELOAD = "true"