Skip to content

Commit

Permalink
[fix] Added "/dev/net/tun" to OpenVPN service
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Dec 10, 2024
1 parent aee8a84 commit 2280960
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ services:
- postgres
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
healthcheck:
test: ["CMD", "pgrep", "-f", "openvpn"]
interval: 30s
Expand Down

0 comments on commit 2280960

Please sign in to comment.