Move deploy config to .env with wg1/51821 defaults for server+client coexistence

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
lofyer
2026-07-04 07:19:33 +08:00
co-authored by factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
parent c8922b62ed
commit d97ae64c85
3 changed files with 29 additions and 13 deletions
+18
View File
@@ -0,0 +1,18 @@
# Copy to .env and fill in. .env is gitignored.
# Public IP or domain that clients use to reach this server (required)
WG_HOST=
# WireGuard interface and port managed by the panel.
# Use wg1/51821 so it can coexist with a local wg0 client tunnel.
WG_INTERFACE=wg1
WG_PORT=51821
WG_SUBNET=10.8.0.0/24
WG_DNS=8.8.8.8
# Admin panel login
ADMIN_USERNAME=admin
ADMIN_PASSWORD=password
# Session signing / key encryption secret. Generate with: openssl rand -hex 32
SECRET_KEY=secret