1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| version: '3.3' services: wg-easy: image: weejewel/wg-easy container_name: wg-easy restart: unless-stopped environment: - WG_HOST=150.230.99.7 - PASSWORD=passwd123 - WG_DEFAULT_ADDRESS=100.100.100.x - 'WG_DEFAULT_DNS=8.8.8.8,223.5.5.5' - 'WG_ALLOWED_IPS=192.168.1.0/24,100.100.100.0/24' - WG_PERSISTENT_KEEPALIVE=25 volumes: - '~/.wg-easy:/etc/wireguard' ports: - '51820:51820/udp' - '51821:51821/tcp'
|