add docker compose
This commit is contained in:
parent
0b84e15573
commit
94e05882d8
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
wg-easy:
|
||||||
|
image: ghcr.io/wg-easy/wg-easy
|
||||||
|
container_name: wg-easy
|
||||||
|
environment:
|
||||||
|
- WG_HOST=38.47.176.52 # Required
|
||||||
|
- PASSWORD="J4t1s4r1!" # Set a password
|
||||||
|
- LANG=en
|
||||||
|
volumes:
|
||||||
|
- ./.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
|
||||||
Loading…
x
Reference in New Issue
Block a user