Skip to content
Snippets Groups Projects
Commit d84cfb6d authored by uıןǝnbsɐW ןǝɐʞɔıW's avatar uıןǝnbsɐW ןǝɐʞɔıW
Browse files

Update project.nomad

parent fa884bb9
No related branches found
No related tags found
No related merge requests found
Pipeline #1443 passed
......@@ -7,8 +7,9 @@ job "whoami" {
group "whoami" {
network {
port "http" {
to = -1
mode = "host"
port "webserver" {
to = 80
}
}
......@@ -27,7 +28,7 @@ job "whoami" {
config {
image = "nginx"
ports = ["http"]
ports = ["webserver"]
}
resources {
......@@ -37,7 +38,7 @@ job "whoami" {
service {
name = "whoami"
port = "http"
port = "webserver"
tags = [
"traefik.enable=true",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment