You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

32 lines
728 B

version: "3.8"
services:
wg-easy:
environment:
- WG_HOST=${HOST}
- PASSWORD=foobar123
image: ghcr.io/wg-easy/wg-easy
container_name: wg-easy
hostname: wg-easy
ports:
- "51820:51820/udp"
- "51821:51821/tcp"
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:
# - ${HOME}/.nginx/servers/:/etc/nginx/servers/
# - ./.nginx/letsencrypt/:/etc/letsencrypt/
# ports:
# - "80:80/tcp"
# - "443:443/tcp"
# restart: unless-stopped