Traefik IP Allowlist
This commit is contained in:
parent
64189e6140
commit
7506695e7d
2 changed files with 6 additions and 2 deletions
|
|
@ -7,7 +7,6 @@ AIDO_WEB_PULL_POLICY=always
|
||||||
## Settings
|
## Settings
|
||||||
SESSION_EXPIRE_TIME_SECONDS=604800 # 7 days
|
SESSION_EXPIRE_TIME_SECONDS=604800 # 7 days
|
||||||
AUTH_COOKIE_EXPIRE_TIME_SECONDS=604800 # 7 days
|
AUTH_COOKIE_EXPIRE_TIME_SECONDS=604800 # 7 days
|
||||||
AUTH_TYPE=oidc
|
|
||||||
OIDC_PKCE_ENABLED=true
|
OIDC_PKCE_ENABLED=true
|
||||||
TRACK_EXTERNAL_IDP_EXPIRY=true
|
TRACK_EXTERNAL_IDP_EXPIRY=true
|
||||||
OIDC_SCOPE_OVERRIDE=openid,email,profile,offline_access
|
OIDC_SCOPE_OVERRIDE=openid,email,profile,offline_access
|
||||||
|
|
@ -58,6 +57,7 @@ S3_AWS_SECRET_ACCESS_KEY=
|
||||||
S3_FILE_STORE_BUCKET_NAME=
|
S3_FILE_STORE_BUCKET_NAME=
|
||||||
|
|
||||||
# Duo SSO
|
# Duo SSO
|
||||||
|
AUTH_TYPE=oidc
|
||||||
OAUTH_CLIENT_ID=
|
OAUTH_CLIENT_ID=
|
||||||
OAUTH_CLIENT_SECRET=
|
OAUTH_CLIENT_SECRET=
|
||||||
OPENID_CONFIG_URL=
|
OPENID_CONFIG_URL=
|
||||||
|
|
@ -66,3 +66,4 @@ OPENID_CONFIG_URL=
|
||||||
CORS_ALLOWED_ORIGIN=
|
CORS_ALLOWED_ORIGIN=
|
||||||
WEB_DOMAIN=
|
WEB_DOMAIN=
|
||||||
FQDN=
|
FQDN=
|
||||||
|
IPALLOWLIST=
|
||||||
|
|
@ -404,6 +404,9 @@ services:
|
||||||
- traefik.http.routers.onyx-router.service=onyx-service
|
- traefik.http.routers.onyx-router.service=onyx-service
|
||||||
- traefik.http.routers.onyx-router.entrypoints=web,websecure
|
- traefik.http.routers.onyx-router.entrypoints=web,websecure
|
||||||
- traefik.http.services.onyx-service.loadbalancer.server.port=80
|
- traefik.http.services.onyx-service.loadbalancer.server.port=80
|
||||||
|
# IP Whitelist
|
||||||
|
- traefik.http.middlewares.n8n-ip-whitelist.ipallowlist.sourcerange=${IPALLOWLIST}
|
||||||
|
- traefik.http.routers.n8n-router.middlewares=n8n-ip-whitelist
|
||||||
expose:
|
expose:
|
||||||
- 3000
|
- 3000
|
||||||
networks:
|
networks:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue