mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
13 lines
276 B
YAML
13 lines
276 B
YAML
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
|