fix(store): add healthcheck to tailscale (#977)

This commit is contained in:
JigSaw 2023-08-09 23:57:57 +02:00 committed by GitHub
parent 820adec678
commit f9b0815e78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
version: "2"
version: "3.8"
services:
tailscale:
@ -12,3 +12,9 @@ services:
volumes:
- /var/lib:/var/lib
- /dev/net/tun:/dev/net/tun
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:${APP_PORT}
interval: 10s
timeout: 5s
retries: 5
start_period: 30s