Moving apps into separate folders.
parent
221fccc3d1
commit
967a8e8028
@ -0,0 +1,37 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
wg-easy:
|
||||||
|
image: ghcr.io/wg-easy/wg-easy:15
|
||||||
|
environment:
|
||||||
|
- PORT=80
|
||||||
|
ports:
|
||||||
|
- "51820:51820/udp"
|
||||||
|
networks:
|
||||||
|
lb:
|
||||||
|
wg:
|
||||||
|
ipv4_address: 10.42.42.42
|
||||||
|
# ipv6_address: fdcc:ad94:bacf:61a3::2a
|
||||||
|
volumes:
|
||||||
|
- etc_wireguard:/etc/wireguard
|
||||||
|
- /lib/modules:/lib/modules:ro
|
||||||
|
restart: unless-stopped
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
- SYS_MODULE
|
||||||
|
sysctls:
|
||||||
|
- net.ipv4.ip_forward=1
|
||||||
|
- net.ipv4.conf.all.src_valid_mark=1
|
||||||
|
- net.ipv6.conf.all.disable_ipv6=0
|
||||||
|
- net.ipv6.conf.all.forwarding=1
|
||||||
|
- net.ipv6.conf.default.forwarding=1
|
||||||
|
networks:
|
||||||
|
lb:
|
||||||
|
wg:
|
||||||
|
driver: bridge
|
||||||
|
ipam:
|
||||||
|
driver: default
|
||||||
|
config:
|
||||||
|
- subnet: 10.42.42.0/24
|
||||||
|
- subnet: fdcc:ad94:bacf:61a3::/64
|
||||||
|
volumes:
|
||||||
|
etc_wireguard:
|
Loading…
Reference in New Issue