Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PDSLLabs Public
QMSL
PDFGenerator QMSL
Commits
e9abdcfc
Commit
e9abdcfc
authored
Mar 11, 2021
by
Uta Christoph
Committed by
Julia Dürselen
Mar 11, 2021
Browse files
rwmove entry point , add internal to paths
(cherry picked from commit
8d8d5ac1
)
parent
1157d978
Pipeline
#424434
passed with stages
in 29 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
nomad/live.nomad
View file @
e9abdcfc
...
...
@@ -33,16 +33,15 @@ job "pdf-generator" {
ASPNETCORE_URLS = "http://*:${NOMAD_PORT_http}",
# Pass the basedir used by Traefik to the app
ASPNETCORE_BASEPATH = "/${NOMAD_TASK_NAME}"
ASPNETCORE_BASEPATH = "/
internal/
${NOMAD_TASK_NAME}"
}
service {
name = "${NOMAD_TASK_NAME}"
port = "http"
tags = [
"traefik.enable=true",
"traefik.http.routers.pdflive.entrypoints=internal",
"traefik.Path=/${NOMAD_TASK_NAME}"
"traefik.enable=true",
"traefik.Path=/internal/${NOMAD_TASK_NAME}"
]
# The check URL needs to answer with status 200, preferbly use something like a version API call
...
...
nomad/testing.nomad
View file @
e9abdcfc
...
...
@@ -33,7 +33,7 @@ job "pdf-generator-testing" {
ASPNETCORE_URLS = "http://*:${NOMAD_PORT_http}",
# Pass the basedir used by Traefik to the app
ASPNETCORE_BASEPATH = "/${NOMAD_TASK_NAME}"
ASPNETCORE_BASEPATH = "/
internal/
${NOMAD_TASK_NAME}"
}
service {
...
...
@@ -41,8 +41,7 @@ job "pdf-generator-testing" {
port = "http"
tags = [
"traefik.enable=true",
"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
...
...
Uta Christoph
@uchristoph
mentioned in commit
dabe3f25
·
Mar 11, 2021
mentioned in commit
dabe3f25
mentioned in commit dabe3f25caaf9ec9b980f5273cc904b0a18ab4b0
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment