Migrate platoo

This commit is contained in:
Quentin 2020-12-25 11:21:41 +01:00
parent 8625a9af75
commit 1624b348df

View file

@ -9,14 +9,16 @@ job "platoo" {
} }
group "core" { group "core" {
network {
port "web_port" { to = 8080 }
}
task "nodejs" { task "nodejs" {
driver = "docker" driver = "docker"
config { config {
image = "victormoi/platoo:v1" image = "victormoi/platoo:v1"
force_pull = true force_pull = true
port_map { ports = [ "web_port" ]
web_port = 8080
}
} }
template { template {
@ -32,9 +34,6 @@ EOH
resources { resources {
memory = 400 memory = 400
network {
port "web_port" {}
}
} }
service { service {