Browse Source

docker-compose.yml: add healthcheck

Thanks @CosasDePuma
pull/1009/head
Philip H 11 months ago
committed by GitHub
parent
commit
a3a69654fc
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      docker-compose.yml

5
docker-compose.yml

@ -42,3 +42,8 @@ services:
sysctls:
- net.ipv4.ip_forward=1
- net.ipv4.conf.all.src_valid_mark=1
healthcheck:
test: /usr/bin/timeout 5s /bin/sh -c "/usr/bin/wg show | /bin/grep -q interface || exit 1"
interval: 1m
timeout: 5s
retries: 3

Loading…
Cancel
Save