added resource block because react ...
This commit is contained in:
parent
a28ddc29ae
commit
013f39c7a8
1 changed files with 6 additions and 1 deletions
|
@ -30,7 +30,7 @@ job "nginx-ams" {
|
||||||
"traefik.http.routers.nginx-ams.rule=Host(`amikon.me`,`www.amikon.me`)",
|
"traefik.http.routers.nginx-ams.rule=Host(`amikon.me`,`www.amikon.me`)",
|
||||||
"traefik.http.routers.nginx-ams.entrypoints=web,websecure",
|
"traefik.http.routers.nginx-ams.entrypoints=web,websecure",
|
||||||
"traefik.http.routers.nginx-ams.tls.certresolver=lets-encrypt",
|
"traefik.http.routers.nginx-ams.tls.certresolver=lets-encrypt",
|
||||||
"traefik.http.routers.nginx-ams.loadbalancer.server.port=${NOMAD_PORT_http}"
|
"traefik.http.routers.nginx-ams.loadbalancer.server.port=3000"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,6 +41,11 @@ job "nginx-ams" {
|
||||||
image = "ghcr.io/dcuams/amikon-site-v2:latest"
|
image = "ghcr.io/dcuams/amikon-site-v2:latest"
|
||||||
ports = ["http", "https"]
|
ports = ["http", "https"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resources {
|
||||||
|
cpu = 100
|
||||||
|
memory = 500
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue