Skip to content

Commit

Permalink
use and expose services internally as well
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Nov 24, 2024
1 parent 397e4c5 commit ab514aa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions job.nomad.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ job "dfunkt" {
"traefik.enable=true",
"traefik.http.routers.dfunkt.rule=Host(`dfunkt.datasektionen.se`)",
"traefik.http.routers.dfunkt.tls.certresolver=default",

"traefik.http.routers.dfunkt-internal.rule=Host(`dfunkt.nomad.dsekt.internal`)",
"traefik.http.routers.dfunkt-internal.entrypoints=web-internal",
]
}

Expand All @@ -36,9 +39,9 @@ DATABASE_URL=postgres://dfunkt:{{ .database_password }}@postgres.dsekt.internal:
LOGIN_KEY={{ .login_api_key }}
{{ end }}
NODE_ENV=production
PLS_URL=https://pls.datasektionen.se
LOGIN_API_URL=https://login.datasektionen.se
LOGIN_FRONTEND_URL=https://login.datasektionen.se
PLS_URL=http://pls.nomad.dsekt.internal
LOGIN_API_URL=http://logout.nomad.dsekt.internal/legacyapi
LOGIN_FRONTEND_URL=https://logout.datasektionen.se/legacyapi
ENV
destination = "local/.env"
env = true
Expand Down

0 comments on commit ab514aa

Please sign in to comment.