summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nomad.tmpl.hcl4
-rw-r--r--submit-fakturamaskinen.policy.hcl7
2 files changed, 11 insertions, 0 deletions
diff --git a/nomad.tmpl.hcl b/nomad.tmpl.hcl
index c519e5b..f098816 100644
--- a/nomad.tmpl.hcl
+++ b/nomad.tmpl.hcl
@@ -25,6 +25,10 @@ client {
host_volume "static-files" {
path = "/var/www/files"
}
+
+ host_volume "faktura-settings" {
+ path = "/var/www/faktura"
+ }
}
acl {
diff --git a/submit-fakturamaskinen.policy.hcl b/submit-fakturamaskinen.policy.hcl
new file mode 100644
index 0000000..78e7bce
--- /dev/null
+++ b/submit-fakturamaskinen.policy.hcl
@@ -0,0 +1,7 @@
+namespace "default" {
+ policy = "write"
+}
+
+host_volume "faktura-settings" {
+ policy = "write"
+}