Wg-easy v14 fork with client expiry. Set lifetime per client, auto-disable, HTTP no domain.
950
A fork of wg-easy v14 with client expiry management — set a lifetime for each WireGuard client directly from the UI.
Works over HTTP without a domain (unlike v15 which requires HTTPS).
services:
wg-easy:
image: kaisatoshi/wg-easy-custom:latest
container_name: wg-easy
environment:
- LANG=en
- WG_HOST=YOUR_SERVER_IP
- PASSWORD_HASH=$$2a$$12$$YOUR_BCRYPT_HASH
volumes:
- etc_wireguard:/etc/wireguard
ports:
- "51820:51820/udp"
- "51821:51821/tcp"
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
- net.ipv4.ip_forward=1
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped
volumes:
etc_wireguard:
docker run --rm ghcr.io/wg-easy/wg-easy:14 wgpw 'YOUR_PASSWORD'
Note: Every
$in the hash must be doubled ($$) in the compose file.
| Variable | Default | Description |
|---|---|---|
WG_HOST | — | ⚠️ Required. Your server's public IP or hostname |
PASSWORD_HASH | — | Bcrypt hash of the UI password (double the $) |
LANG | en | UI language (en, ru, de, ua and more) |
WG_PORT | 51820 | WireGuard UDP port |
WG_DEFAULT_DNS | 1.1.1.1 | DNS for clients |
WG_DEFAULT_ADDRESS | 10.8.0.x | Client IP range |
WG_MTU | 1420 | MTU value |
UI_TRAFFIC_STATS | false | Show traffic charts |
wireguard-tools)wg-easy v14 by WeeJeWel — MIT License
GitHub: KaiSatoshi/wg-easy-custom
Content type
Image
Digest
sha256:97e430610…
Size
58.9 MB
Last updated
5 months ago
docker pull kaisatoshi/wg-easy-custom