--- version: "3.8" services: app: cap_add: - ALL volumes: - wireguard:/etc/wireguard healthcheck: test: ["CMD", "bash", "/persistwg.sh"] interval: 30s timeout: 15s start_period: 30s volumes: wireguard: