aboutsummaryrefslogtreecommitdiff
path: root/app/deployment/plume.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'app/deployment/plume.hcl')
-rw-r--r--app/deployment/plume.hcl11
1 files changed, 5 insertions, 6 deletions
diff --git a/app/deployment/plume.hcl b/app/deployment/plume.hcl
index 376789b..88110da 100644
--- a/app/deployment/plume.hcl
+++ b/app/deployment/plume.hcl
@@ -13,9 +13,7 @@ job "plume" {
driver = "docker"
config {
image = "superboum/plume:v1"
- port_map {
- web_port = 7878
- }
+ network_mode = "host"
#command = "cat"
#args = [ "/dev/stdout" ]
volumes = [
@@ -51,11 +49,12 @@ job "plume" {
"traefik.frontend.entryPoints=https,http",
"traefik.frontend.rule=Host:plume.deuxfleurs.fr",
]
- port = "web_port"
- address_mode = "host"
+ port = 7878
+ address_mode = "driver"
check {
type = "tcp"
- port = "web_port"
+ port = 7878
+ address_mode = "driver"
interval = "60s"
timeout = "5s"
check_restart {