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 {
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"