hedgeodoc: add mount for banner, set default permission (#76)

This commit is contained in:
wizzdom 2024-11-24 09:31:42 +00:00 committed by GitHub
parent d38f434a13
commit a464a915f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"