mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +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
|