-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·32 lines (30 loc) · 752 Bytes
/
docker-compose.yml
File metadata and controls
executable file
·32 lines (30 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Installation: https://github.com/wg-easy/wg-easy
services:
wg-easy:
image: ghcr.io/wg-easy/wg-easy:14
container_name: wg-easy
environment:
- WG_HOST=${WG_HOST}
- PASSWORD=${WG_EASY_PASSWORD}
- WG_PORT=${WG_PORT}
- WG_DEFAULT_ADDRESS=${WG_DEFAULT_ADDRESS}
- WG_DEFAULT_DNS=${WG_DEFAULT_DNS}
volumes:
- /opt/appdata/wg-easy:/etc/wireguard
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
networks:
- proxy
networks:
proxy:
# rename this to your custom docker network.
driver: bridge
external: true