41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
################################################################
|
|
APPLICATION_NAME=wg-easy
|
|
|
|
DOCKERDIR=/mnt/SSD1/docker/
|
|
|
|
STACKSDIR=${DOCKERDIR}/stacks/${APPLICATION_NAME}
|
|
DATAROOT=${DOCKERDIR}/data
|
|
DATADIR=${DATAROOT}/${APPLICATION_NAME}
|
|
SECRETSDIR=${STACKSDIR}/secrets
|
|
|
|
PUID=3019
|
|
PGID=3018
|
|
DOMAINNAME=sthome.org
|
|
TZ=Africa/Johannesburg
|
|
|
|
PORT=51821
|
|
WG_PORT=51820
|
|
WG_CONFIG_PORT=92820
|
|
################################################################
|
|
#PEERS=10
|
|
|
|
# Change this to your host's public address
|
|
WG_HOST=vpn.sthome.org
|
|
|
|
# Optional:
|
|
# generate PASSWORD_HASH with:
|
|
# docker run --rm -it ghcr.io/wg-easy/wg-easy wgpw 'YOUR_PASSWORD' | sed -e s/\\$/\\$\\$/g # NB: the single quotes around YOUR_PASSWORD
|
|
PASSWORD_HASH=$$2a$$12$$S9vnQ5EtnaXhsjpMLUNR0eervb/Koooa26VrzAjjIGbWRpxuHUenS # NB: the single quotes around the hash should be removed, hint = a
|
|
|
|
WG_DEFAULT_ADDRESS=10.8.0.x
|
|
WG_DEFAULT_DNS=10.0.0.1, 1.1.1.1
|
|
WG_ALLOWED_IPS=0.0.0.0/0, ::/0
|
|
WG_PERSISTENT_KEEPALIVE=25
|
|
|
|
# generate PROMETHEUS_METRICS_PASSWORD with:
|
|
# docker run --rm -it ghcr.io/wg-easy/wg-easy wgpw 'YOUR_PASSWORD' | sed -e s/\\$/\\$\\$/g # NB: the single quotes around YOUR_PASSWORD
|
|
# PROMETHEUS_METRICS_PASSWORD=$$2a$$12$$h37gtaEp5GIHk7OooBb13O4LAiIefvcDIVUtMR62E1jgwMfGMM2oC # NB: the single quotes around the hash should be removed
|
|
|
|
|
|
|