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
bd4e927b
Commit
bd4e927b
authored
Mar 11, 2021
by
Julia Dürselen
🚒
Browse files
Merge branch 'feature/internal-url' into master
parents
e27ed75d
e9abdcfc
Pipeline
#434436
failed with stages
in 2 minutes and 4 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
nomad/live.nomad
View file @
bd4e927b
...
@@ -33,7 +33,7 @@ job "pdf-generator" {
...
@@ -33,7 +33,7 @@ job "pdf-generator" {
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
{
...
@@ -41,8 +41,7 @@ job "pdf-generator" {
...
@@ -41,8 +41,7 @@ job "pdf-generator" {
port
=
"http"
port
=
"http"
tags
=
[
tags
=
[
"traefik.enable=true"
,
"traefik.enable=true"
,
"traefik.http.routers.pdflive.entrypoints=internal"
,
"traefik.Path=/internal/${NOMAD_TASK_NAME}"
"traefik.Path=/${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
...
...
nomad/testing.nomad
View file @
bd4e927b
...
@@ -40,7 +40,7 @@ job "pdf-generator-testing" {
...
@@ -40,7 +40,7 @@ job "pdf-generator-testing" {
name
=
"${NOMAD_TASK_NAME}"
name
=
"${NOMAD_TASK_NAME}"
port
=
"http"
port
=
"http"
tags
=
[
tags
=
[
"traefik.enable=true"
,
"traefik.enable=true"
,
"traefik.Path=/internal/${NOMAD_TASK_NAME}"
"traefik.Path=/internal/${NOMAD_TASK_NAME}"
]
]
...
...
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