navid/veinsforge / 44e1bef61403607f5c01071f52e3799aefb46008923082f2ba10b6fd2ac690c3 / deploy/veinsforge.env.example

veinsforge.env.example

← deploy · 890 bytes · raw · download

# Bind the web UI to localhost and put Caddy/nginx in front for public HTTPS.
VEINSFORGE_ADDR=127.0.0.1:8080
VEINSFORGE_DATA=/var/lib/veinsforge
VEINSFORGE_BASE_URL=https://forge.example.com
VEINSFORGE_VN_BIN=/usr/local/bin/vn

# Native protocol. Use 0.0.0.0:7419 only if external clients need it.
VEINSFORGE_NATIVE_LISTEN=0.0.0.0:7419
VEINSFORGE_NATIVE_HOST=forge.example.com

# Trust X-Forwarded-For only from the local reverse proxy.
VEINSFORGE_TRUSTED_PROXIES=127.0.0.1/32,::1/128

# Optional: use a publicly trusted certificate instead of the generated one.
# VEINSFORGE_NATIVE_CERT=/etc/letsencrypt/live/forge.example.com/fullchain.pem
# VEINSFORGE_NATIVE_KEY=/etc/letsencrypt/live/forge.example.com/privkey.pem

# Bootstrap the first administrator (remove the password after first start).
# VEINSFORGE_ADMIN_USER=admin
# VEINSFORGE_ADMIN_PASSWORD=replace-with-a-long-random-password