diff --git a/.env.template b/.env.template index cafc315..b4563f9 100644 --- a/.env.template +++ b/.env.template @@ -7,7 +7,6 @@ AIDO_WEB_PULL_POLICY=always ## Settings SESSION_EXPIRE_TIME_SECONDS=604800 # 7 days AUTH_COOKIE_EXPIRE_TIME_SECONDS=604800 # 7 days -AUTH_TYPE=oidc OIDC_PKCE_ENABLED=true TRACK_EXTERNAL_IDP_EXPIRY=true OIDC_SCOPE_OVERRIDE=openid,email,profile,offline_access @@ -58,6 +57,7 @@ S3_AWS_SECRET_ACCESS_KEY= S3_FILE_STORE_BUCKET_NAME= # Duo SSO +AUTH_TYPE=oidc OAUTH_CLIENT_ID= OAUTH_CLIENT_SECRET= OPENID_CONFIG_URL= @@ -65,4 +65,5 @@ OPENID_CONFIG_URL= # FQDN CORS_ALLOWED_ORIGIN= WEB_DOMAIN= -FQDN= \ No newline at end of file +FQDN= +IPALLOWLIST= \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 5e75fc9..11d17d8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -404,6 +404,9 @@ services: - traefik.http.routers.onyx-router.service=onyx-service - traefik.http.routers.onyx-router.entrypoints=web,websecure - 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: - 3000 networks: