Fix Gluetun web UI auth and LAN binding
This commit is contained in:
@@ -9,9 +9,15 @@ SEARXNG_BASE_URL=http://10.5.1.6:8888/
|
|||||||
FIRECRAWL_PORT=3302
|
FIRECRAWL_PORT=3302
|
||||||
FIRECRAWL_INTERNAL_PORT=3002
|
FIRECRAWL_INTERNAL_PORT=3002
|
||||||
|
|
||||||
# Keep the Gluetun control UI localhost-only by default. Reverse proxy later if desired.
|
# Gluetun control UI LAN bind. Keep it on the PD LAN IP, not 0.0.0.0.
|
||||||
|
GLUETUN_WEBUI_BIND_ADDRESS=10.5.1.6
|
||||||
GLUETUN_WEBUI_PORT=8390
|
GLUETUN_WEBUI_PORT=8390
|
||||||
|
|
||||||
|
# Gluetun HTTP control API auth for the web UI.
|
||||||
|
# Generate a real key for the live .env and keep only placeholders in git.
|
||||||
|
GLUETUN_CONTROL_API_KEY=replace-me-with-a-22-char-base58-key
|
||||||
|
HTTP_CONTROL_SERVER_AUTH_DEFAULT_ROLE={"auth":"apikey","apikey":"replace-me-with-a-22-char-base58-key"}
|
||||||
|
|
||||||
# Firecrawl runtime tuning
|
# Firecrawl runtime tuning
|
||||||
USE_DB_AUTHENTICATION=false
|
USE_DB_AUTHENTICATION=false
|
||||||
NUM_WORKERS_PER_QUEUE=4
|
NUM_WORKERS_PER_QUEUE=4
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ services:
|
|||||||
- VPN_TYPE=wireguard
|
- VPN_TYPE=wireguard
|
||||||
- WIREGUARD_CONF_SECRETFILE=/run/secrets/wg0.conf
|
- WIREGUARD_CONF_SECRETFILE=/run/secrets/wg0.conf
|
||||||
- HTTP_CONTROL_SERVER_ADDRESS=:8000
|
- HTTP_CONTROL_SERVER_ADDRESS=:8000
|
||||||
|
- HTTP_CONTROL_SERVER_AUTH_DEFAULT_ROLE=${HTTP_CONTROL_SERVER_AUTH_DEFAULT_ROLE}
|
||||||
- HTTP_CONTROL_SERVER_LOG=on
|
- HTTP_CONTROL_SERVER_LOG=on
|
||||||
- FIREWALL_OUTBOUND_SUBNETS=${FIREWALL_OUTBOUND_SUBNETS:-10.5.0.0/16,172.16.0.0/12,192.168.0.0/16}
|
- FIREWALL_OUTBOUND_SUBNETS=${FIREWALL_OUTBOUND_SUBNETS:-10.5.0.0/16,172.16.0.0/12,192.168.0.0/16}
|
||||||
- UPDATER_PERIOD=24h
|
- UPDATER_PERIOD=24h
|
||||||
@@ -52,9 +53,10 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- search-gluetun
|
- search-gluetun
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:${GLUETUN_WEBUI_PORT:-8390}:3000"
|
- "${GLUETUN_WEBUI_BIND_ADDRESS:-10.5.1.6}:${GLUETUN_WEBUI_PORT:-8390}:3000"
|
||||||
environment:
|
environment:
|
||||||
- GLUETUN_CONTROL_URL=http://search-gluetun:8000
|
- GLUETUN_CONTROL_URL=http://search-gluetun:8000
|
||||||
|
- GLUETUN_API_KEY=${GLUETUN_CONTROL_API_KEY}
|
||||||
- PORT=3000
|
- PORT=3000
|
||||||
networks:
|
networks:
|
||||||
- search_internal
|
- search_internal
|
||||||
|
|||||||
Reference in New Issue
Block a user