towards healthchecks for all containers
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
services:
|
||||
surfshark:
|
||||
image: ilteoood/docker-surfshark:1.7.2
|
||||
container_name: surfshark
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
container_name: surfshark
|
||||
devices:
|
||||
- /dev/net/tun
|
||||
dns:
|
||||
@@ -15,7 +16,6 @@ services:
|
||||
- CONNECTION_TYPE=udp
|
||||
- LAN_NETWORK=
|
||||
- ENABLE_SOCKS_SERVER=true
|
||||
image: ilteoood/docker-surfshark:1.7.2
|
||||
ports:
|
||||
- 1080:1080
|
||||
- 9091:9091
|
||||
@@ -23,3 +23,9 @@ services:
|
||||
- 6881:6881
|
||||
- 6881:6881/udp
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f -s https://www.google.com > /dev/null || exit 1"]
|
||||
interval: 60s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
Reference in New Issue
Block a user