1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-30 10:41:29 +00:00
dockerfiles/wireguard/docker-compose.yml

13 lines
276 B
YAML
Raw Normal View History

2019-07-09 20:08:34 +00:00
wireguard:
image: easypi/wireguard-arm
command: ["sh", "-c", "wg-quick up wg0 && sleep infinity"]
ports:
- "51820:51820/udp"
volumes:
- ./data:/etc/wireguard
- /lib/modules:/lib/modules
cap_add:
- NET_ADMIN
- SYS_MODULE
restart: unless-stopped