wireadmin/docker-compose.yml

29 lines
676 B
YAML
Raw Normal View History

version: "3.8"
services:
wireadmin:
environment:
# ⚠️ Required:
2023-09-27 02:00:23 +00:00
# Make sure change this to your host's public address
2024-02-12 06:55:37 +00:00
- WG_HOST=localhost
# ⚠️ Required:
# You can use `openssl rand -base64 8` to generate a secure password
- UI_PASSWORD=super-secret-password
2024-02-12 09:35:46 +00:00
image: litehex/wireadmin
container_name: wireadmin
2024-02-12 06:55:37 +00:00
restart: unless-stopped
volumes:
2024-02-12 06:55:37 +00:00
- persist-data:/data
ports:
- "51820:51820/udp"
- "3000:3000/tcp"
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
- net.ipv4.ip_forward=1
- net.ipv4.conf.all.src_valid_mark=1
2023-09-27 02:00:23 +00:00
volumes:
2024-02-12 06:55:37 +00:00
persist-data:
2023-09-27 02:00:23 +00:00
driver: local