services: wg-easy: environment: - LANG=en # ⚠️ Required: # Change this to your host's public address - WG_HOST=${WG_HOST} - PASSWORD_HASH=${PASSWORD_HASH} - WG_PORT=${WG_PORT:-51820} image: ghcr.io/wg-easy/wg-easy container_name: wg-easy volumes: - /mnt/etc_wireguard:/etc/wireguard ports: - "51820:51820/udp" # - "51821:51821/tcp" restart: unless-stopped cap_add: - NET_ADMIN - SYS_MODULE # - NET_RAW # ⚠️ Uncomment if using Podman sysctls: - net.ipv4.ip_forward=1 - net.ipv4.conf.all.src_valid_mark=1