Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions infrastructure/docker-compose.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -633,18 +633,7 @@ services:
deploy:
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.auth.rule=Host(`auth.{{hostname}}`)'
- 'traefik.http.services.auth.loadbalancer.server.port=4040'
- 'traefik.http.routers.auth.tls=true'
- 'traefik.http.routers.auth.tls.certresolver=certResolver'
- 'traefik.http.routers.auth.entrypoints=web,websecure'
- 'traefik.docker.network=opencrvs_overlay_net'
- 'traefik.http.middlewares.auth.headers.customresponseheaders.Pragma=no-cache'
- 'traefik.http.middlewares.auth.headers.customresponseheaders.Cache-control=no-store'
- 'traefik.http.middlewares.auth.headers.customresponseheaders.X-Robots-Tag=none'
- 'traefik.http.middlewares.auth.headers.stsseconds=31536000'
- 'traefik.http.middlewares.auth.headers.stsincludesubdomains=true'
- 'traefik.http.middlewares.auth.headers.stspreload=true'
replicas: 1
networks:
- overlay_net
Expand Down
1 change: 1 addition & 0 deletions src/login-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/
window.config = {
AUTH_API_URL: 'http://localhost:7070/auth/',
API_GATEWAY_URL: 'http://localhost:7070/',
CONFIG_API_URL: 'http://localhost:2021',
// Country code in uppercase ALPHA-3 format
COUNTRY: 'FAR',
Expand Down
1 change: 1 addition & 0 deletions src/login-config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/
window.config = {
AUTH_API_URL: 'https://gateway.{{hostname}}/auth/',
API_GATEWAY_URL: 'https://gateway.{{hostname}}/',
CONFIG_API_URL: 'https://config.{{hostname}}',
// Country code in uppercase ALPHA-3 format
COUNTRY: 'FAR',
Expand Down