mirror of
https://github.com/ilteoood/docker-surfshark.git
synced 2025-12-21 13:23:02 +01:00
Merge pull request #59 from dd32/fix/healthcheck
Switch to using the SurfShark API for the health check
This commit is contained in:
@@ -14,7 +14,7 @@ ENV LAN_NETWORK=
|
|||||||
ENV CREATE_TUN_DEVICE=
|
ENV CREATE_TUN_DEVICE=
|
||||||
ENV OVPN_CONFIGS=
|
ENV OVPN_CONFIGS=
|
||||||
ENV ENABLE_KILL_SWITCH=true
|
ENV ENABLE_KILL_SWITCH=true
|
||||||
HEALTHCHECK --interval=60s --timeout=10s --start-period=30s CMD curl -L 'https://ipinfo.io'
|
HEALTHCHECK --interval=60s --timeout=10s --start-period=30s CMD curl -s https://api.surfshark.com/v1/server/user | grep '"secured":true'
|
||||||
COPY startup.sh .
|
COPY startup.sh .
|
||||||
COPY sockd.conf /etc/
|
COPY sockd.conf /etc/
|
||||||
COPY sockd.sh .
|
COPY sockd.sh .
|
||||||
|
|||||||
Reference in New Issue
Block a user