Guest User

Untitled

a guest
Jun 1st, 2021
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. version: '3'
  2.  
  3. services:
  4. wireguard:
  5. image: 'linuxserver/wireguard'
  6. cap_add:
  7. - NET_ADMIN
  8. - SYS_MODULE
  9. container_name: 'wireguard'
  10. environment:
  11. - PUID=1000
  12. - PGID=1000
  13. - TZ=Europe/Moscow
  14. - PEERS=test
  15. - SERVERURL=real_ip.com
  16. - SERVERPORT=4500
  17. - PEERDNS=auto
  18. - INTERNAL_SUBNET=10.10.1.0
  19. - ALLOWEDIPS=10.10.1.0/24
  20. volumes:
  21. - ./config:/config
  22. - /lib/modules:/lib/modules
  23. ports:
  24. - 4500:51820/udp
  25. sysctls:
  26. - net.ipv4.conf.all.src_valid_mark=1
  27. - net.ipv4.ip_forward=1
  28. restart: unless-stopped
  29.  
  30. web:
  31. image: nginx
  32. ports:
  33. - "80:80"
  34. environment:
  35. - NGINX_HOST=localhost
  36. - NGINX_PORT=80
Advertisement
Add Comment
Please, Sign In to add comment