version: "3.8" services: wg-easy: environment: - WG_HOST=${HOST} # ⚠️ Change the Web UI Password: - PASSWORD=foobar123 image: ghcr.io/vikashloomba/wg-easy container_name: wg-easy hostname: wg-easy volumes: - /.wg-easy:/etc/wireguard ports: - "51820:51820/udp" restart: unless-stopped cap_add: - NET_ADMIN - SYS_MODULE sysctls: - net.ipv4.ip_forward=1 - net.ipv4.conf.all.src_valid_mark=1 nginx: image: weejewel/nginx-with-certbot container_name: nginx hostname: nginx volumes: - /.nginx/servers/:/etc/nginx/servers/ - ./.nginx/letsencrypt/:/etc/letsencrypt/ ports: - "80:80/tcp" - "443:443/tcp" restart: unless-stopped