diff options
author | Mathias Magnusson <mathias@magnusson.space> | 2023-08-23 22:04:27 +0200 |
---|---|---|
committer | Mathias Magnusson <mathias@magnusson.space> | 2023-08-23 22:04:46 +0200 |
commit | 22fc57cd5cd620fed99d40adeb28656c04f16f6e (patch) | |
tree | 981fa88cc398b75fbf4f7281eeb01cdd72981c90 | |
parent | 2b95c405ee6e075a18cbccf3865b583d24b09854 (diff) | |
download | garm-22fc57cd5cd620fed99d40adeb28656c04f16f6e.tar.gz |
Add host volume and policy for fakturamaskinen
-rw-r--r-- | nomad.tmpl.hcl | 4 | ||||
-rw-r--r-- | submit-fakturamaskinen.policy.hcl | 7 |
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" +} |