2023-09-06 10:23:31 +00:00
|
|
|
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
|
2024-05-29 16:40:18 +00:00
|
|
|
- ADMIN_PASSWORD=super-secret-password
|
2023-09-06 10:23:31 +00:00
|
|
|
|
2024-05-29 16:40:18 +00:00
|
|
|
image: ghcr.io/wireadmin/wireadmin
|
2024-02-12 09:35:46 +00:00
|
|
|
container_name: wireadmin
|
2024-02-12 06:55:37 +00:00
|
|
|
restart: unless-stopped
|
2023-09-06 10:23:31 +00:00
|
|
|
volumes:
|
2024-05-29 16:40:18 +00:00
|
|
|
- wireadmin-data:/data
|
|
|
|
- tor-data:/var/lib/tor
|
2023-09-06 10:23:31 +00:00
|
|
|
ports:
|
2024-04-20 20:06:45 +00:00
|
|
|
- '3000:3000/tcp'
|
2024-05-29 16:40:18 +00:00
|
|
|
# Dnsmasq
|
|
|
|
#- '53:53/udp'
|
|
|
|
#- '53:53/tcp'
|
|
|
|
# WireGuard
|
|
|
|
- '51820:51820/udp'
|
2023-09-06 10:23:31 +00:00
|
|
|
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-05-29 16:40:18 +00:00
|
|
|
wireadmin-data:
|
|
|
|
tor-data:
|