-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
31 lines (28 loc) · 758 Bytes
/
Copy path.env.example
File metadata and controls
31 lines (28 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Server conf
ENV=production
SERVER_SSL_ENABLED=false
SERVER_PORT=8080
SESSION_SECRET_KEY=your-secret-key-here
SESSION_MAX_AGE=3600
COOKIE_SECURE=false
# Database conf
DB_TYPE=mysql
DB_HOST=localhost
DB_PORT=3306
DB_NAME=nullguard
DB_USER=your-db-user
DB_PASS=your-db-password
# Postgres only (mysql: 3306 / postgres: 5432)
DB_SSLMODE=disable
# DATABASE_URL=/data/nullguard.db # sqlite only
# WireGuard server defaults
WG_SERVER_DEFAULT_NAME=wg0
WG_SERVER_DEFAULT_COMMENT=nullguard
WG_SERVER_DEFAULT_ADDR=10.252.0.1/24
WG_SERVER_DEFAULT_PORT=51820
WG_SERVER_DEFAULT_SUPERNET=128.0.0.0/1, 0.0.0.0/1
WG_SERVER_DEFAULT_KEEPALIVE=30
WG_SERVER_CONF_PATH=/etc/wireguard
AUTO_START_SERVERS=false
# WireGuard client defaults
WG_CLIENT_DEFAULT_NAME=my-wg-client