mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-20 21:23:41 +03:00
33 lines
999 B
YAML
33 lines
999 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: wireguard_app_1
|
|
APP_PORT: 51821
|
|
|
|
app:
|
|
# TODO: When updating WireGuard Easy, check the compatibility issue documented in
|
|
# https://github.com/getumbrel/private-umbrel-apps/pull/1325. If upstream has resolved
|
|
# it, remove the firewall backend compatibility logic from hooks/pre-start.
|
|
image: ghcr.io/wg-easy/wg-easy:15.5.0@sha256:071f79a639e9361123a5e57733107320207b844ddbbd92dfa6962f541fe8aac8
|
|
restart: on-failure
|
|
stop_grace_period: 1m
|
|
ports:
|
|
- "51820:51820/udp"
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/wireguard:/etc/wireguard
|
|
- /lib/modules:/lib/modules:ro
|
|
environment:
|
|
PORT: 51821
|
|
INSECURE: "true"
|
|
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
|