Commit 1523c954 authored by Uta Christoph's avatar Uta Christoph
Browse files

Update testing.nomad - change path prefix 'internal'

parent c943a03b
Pipeline #424276 passed with stages
in 1 minute and 45 seconds
...@@ -33,7 +33,7 @@ job "pdf-generator-testing" { ...@@ -33,7 +33,7 @@ job "pdf-generator-testing" {
ASPNETCORE_URLS = "http://*:${NOMAD_PORT_http}", ASPNETCORE_URLS = "http://*:${NOMAD_PORT_http}",
# Pass the basedir used by Traefik to the app # Pass the basedir used by Traefik to the app
ASPNETCORE_BASEPATH = "/${NOMAD_TASK_NAME}" ASPNETCORE_BASEPATH = "/internal/${NOMAD_TASK_NAME}"
} }
service { service {
...@@ -42,7 +42,7 @@ job "pdf-generator-testing" { ...@@ -42,7 +42,7 @@ job "pdf-generator-testing" {
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.pdftesting.entrypoints=internal", "traefik.http.routers.pdftesting.entrypoints=internal",
"traefik.Path=/${NOMAD_TASK_NAME}" "traefik.Path=/internal/${NOMAD_TASK_NAME}"
] ]
# The check URL needs to answer with status 200, preferbly use something like a version API call # The check URL needs to answer with status 200, preferbly use something like a version API call
...@@ -67,4 +67,4 @@ job "pdf-generator-testing" { ...@@ -67,4 +67,4 @@ job "pdf-generator-testing" {
} }
} }
} }
} }
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment