22 lines
506 B
YAML
22 lines
506 B
YAML
version: "2.1"
|
|
services:
|
|
wireguard:
|
|
container_name: wg-manager
|
|
image: perara/wg-manager
|
|
restart: always
|
|
sysctls:
|
|
net.ipv6.conf.all.disable_ipv6: 0 # Required for IPV6
|
|
cap_add:
|
|
- NET_ADMIN
|
|
#network_mode: host # Alternatively
|
|
ports:
|
|
- 51800-51900:51800-51900/udp
|
|
- 8888:8888
|
|
volumes:
|
|
- ./wg-manager:/config
|
|
environment:
|
|
HOST: 0.0.0.0
|
|
PORT: 8888
|
|
ADMIN_USERNAME: admin
|
|
ADMIN_PASSWORD: admin
|
|
WEB_CONCURRENCY: 1 |