hedgeodoc: add mount for banner, set default permission (#76)
This commit is contained in:
parent
d38f434a13
commit
a464a915f0
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue