forked from Deuxfleurs/infrastructure
Migrate platoo
This commit is contained in:
parent
8625a9af75
commit
1624b348df
1 changed files with 5 additions and 6 deletions
|
@ -9,14 +9,16 @@ job "platoo" {
|
|||
}
|
||||
|
||||
group "core" {
|
||||
network {
|
||||
port "web_port" { to = 8080 }
|
||||
}
|
||||
|
||||
task "nodejs" {
|
||||
driver = "docker"
|
||||
config {
|
||||
image = "victormoi/platoo:v1"
|
||||
force_pull = true
|
||||
port_map {
|
||||
web_port = 8080
|
||||
}
|
||||
ports = [ "web_port" ]
|
||||
}
|
||||
|
||||
template {
|
||||
|
@ -32,9 +34,6 @@ EOH
|
|||
|
||||
resources {
|
||||
memory = 400
|
||||
network {
|
||||
port "web_port" {}
|
||||
}
|
||||
}
|
||||
|
||||
service {
|
||||
|
|
Loading…
Reference in a new issue