Update environment variables and Traefik configuration
This commit is contained in:
@@ -20,10 +20,7 @@ STREAMLIT_FIN_SERVER_PORT="8501"
|
|||||||
BAI_LOCATION="/bai"
|
BAI_LOCATION="/bai"
|
||||||
STREAMLIT_BAI_SERVER_PORT="8502"
|
STREAMLIT_BAI_SERVER_PORT="8502"
|
||||||
|
|
||||||
# user/pass
|
# The following are the environment variables for the OSRM service
|
||||||
DASHBOARD_USER=test
|
|
||||||
DASHBOARD_PASSWORD=$$apr1$$2E4PEW8M$$/wEgFNKX71h.YYMywV7WZ/
|
|
||||||
|
|
||||||
OSRM_ALGORITHM="mld"
|
OSRM_ALGORITHM="mld"
|
||||||
OSRM_THREADS=2
|
OSRM_THREADS=2
|
||||||
OSRM_PORT=5000
|
OSRM_PORT=5000
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
+15
-15
@@ -1,8 +1,8 @@
|
|||||||
log:
|
log:
|
||||||
level: DEBUG
|
level: DEBUG
|
||||||
# api:
|
api:
|
||||||
# Dashboard
|
# Dashboard
|
||||||
# dashboard: true
|
dashboard: true
|
||||||
# https://docs.traefik.io/master/operations/api/#insecure
|
# https://docs.traefik.io/master/operations/api/#insecure
|
||||||
# insecure: true
|
# insecure: true
|
||||||
|
|
||||||
@@ -36,16 +36,16 @@ certificatesResolvers:
|
|||||||
|
|
||||||
http:
|
http:
|
||||||
routers:
|
routers:
|
||||||
# dashboard:
|
dashboard:
|
||||||
# rule: "Host(`dashboard.furyhawk.lol`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))"
|
rule: "Host(`dashboard.furyhawk.lol`) && PathPrefix(`/api`, `/dashboard`)"
|
||||||
# entryPoints:
|
entryPoints:
|
||||||
# - web-secure
|
- web-secure
|
||||||
# service: api@internal
|
middlewares:
|
||||||
# middlewares:
|
- auth
|
||||||
# - auth
|
service: api@internal
|
||||||
# tls:
|
tls:
|
||||||
# # https://docs.traefik.io/master/routing/routers/#certresolver
|
# https://docs.traefik.io/master/routing/routers/#certresolver
|
||||||
# certResolver: letsencrypt
|
certResolver: letsencrypt
|
||||||
# domains:
|
# domains:
|
||||||
# - main: "furyhawk.lol"
|
# - main: "furyhawk.lol"
|
||||||
# sans:
|
# sans:
|
||||||
@@ -111,9 +111,9 @@ http:
|
|||||||
# - "*.furyhawk.lol"
|
# - "*.furyhawk.lol"
|
||||||
|
|
||||||
middlewares:
|
middlewares:
|
||||||
# auth:
|
auth:
|
||||||
# basicAuth:
|
basicAuth:
|
||||||
# users: "{{env "DASHBOARD_USER"}}:{{env "DASHBOARD_PASSWORD"}}"
|
usersFile: "usersfile"
|
||||||
csrf:
|
csrf:
|
||||||
# https://doc.traefik.io/traefik/middlewares/http/headers/#hostsproxyheaders
|
# https://doc.traefik.io/traefik/middlewares/http/headers/#hostsproxyheaders
|
||||||
# https://docs.djangoproject.com/en/dev/ref/csrf/#ajax
|
# https://docs.djangoproject.com/en/dev/ref/csrf/#ajax
|
||||||
|
|||||||
Reference in New Issue
Block a user