From 22fc57cd5cd620fed99d40adeb28656c04f16f6e Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Wed, 23 Aug 2023 22:04:27 +0200 Subject: Add host volume and policy for fakturamaskinen --- nomad.tmpl.hcl | 4 ++++ submit-fakturamaskinen.policy.hcl | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 submit-fakturamaskinen.policy.hcl 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" +} -- cgit v1.2.3