42060c43c3
- /home/.chezmoiscripts/universal/run_onchange_after_40-firefox.tmpl - /home/dot_config/VirtualBox/VirtualBox.xml.tmpl - /home/dot_config/docker/templates/healthchecks.docker-stack.yml.tmpl - /home/dot_config/docker/templates/dashy.docker-stack.yml.tmpl - /home/dot_config/docker/templates/portainer.docker-stack.yml.tmpl - /home/dot_config/docker/templates/sonatype.docker-stack.yml.tmpl - /home/dot_config/docker/templates/statping.docker-stack.yml.tmpl - /home/dot_config/docker/templates/wazuh.docker-stack.yml.tmpl - /home/dot_config/docker/templates/wireguard.docker-stack.yml.tmpl - /home/dot_config/docker/templates/rundeck.docker-stack.yml.tmpl - /home/dot_config/docker/templates/nginx.docker-stack.yml.tmpl - /home/dot_config/docker/templates/htpc.docker-stack.yml.tmpl - /home/dot_config/docker/templates/gitlab.docker-stack.yml.tmpl - /home/dot_config/docker/templates/code-server.docker-stack.yml.tmpl - /home/dot_config/docker/templates/instapy.docker-stack.yml.tmpl - /home/dot_config/docker/templates/josh.docker-stack.yml.tmpl - /home/dot_config/docker/templates/nextcloud.docker-stack.yml.tmpl - /home/dot_config/docker/templates/nginx-proxy-manager.docker-stack.yml.tmpl - /home/dot_config/docker/templates/thelounge.docker-stack.yml.tmpl
38 lines
824 B
Cheetah
38 lines
824 B
Cheetah
---
|
|
version: '3.8'
|
|
|
|
services:
|
|
wireguard:
|
|
image: lscr.io/linuxserver/wireguard:latest
|
|
container_name: WireGuard
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- SYS_MODULE
|
|
environment:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
TZ: "{{ timezone }}"
|
|
SERVERURL: "{{ template.SERVERURL }}"
|
|
SERVERPORT: 51820
|
|
PEERS: 1
|
|
PEERDNS: auto
|
|
INTERNAL_SUBNET: "{{ template.INTERNAL_SUBNET }}"
|
|
ALLOWEDIPS: "{{ template.INTERNAL_SUBNET }}/24"
|
|
LOG_CONFS: true
|
|
volumes:
|
|
- /srv/stacks/wireguard:/config
|
|
- /lib/modules:/lib/modules
|
|
ports:
|
|
- 51820:51820/udp
|
|
sysctls:
|
|
- net.ipv4.conf.all.src_valid_mark=1
|
|
restart: unless-stopped
|
|
deploy:
|
|
mode: global
|
|
|
|
networks:
|
|
agent_network:
|
|
driver: overlay
|
|
attachable: true
|
|
nginx_network:
|
|
external: true
|