summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Magnusson <mathias@magnusson.space>2023-08-23 22:04:27 +0200
committerMathias Magnusson <mathias@magnusson.space>2023-08-23 22:04:46 +0200
commit22fc57cd5cd620fed99d40adeb28656c04f16f6e (patch)
tree981fa88cc398b75fbf4f7281eeb01cdd72981c90
parent2b95c405ee6e075a18cbccf3865b583d24b09854 (diff)
downloadgarm-22fc57cd5cd620fed99d40adeb28656c04f16f6e.tar.gz
Add host volume and policy for fakturamaskinen
-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"
+}