services: mini-qr: image: ghcr.io/lyqht/mini-qr:latest container_name: mini-qr healthcheck: test: ["CMD-SHELL", "nc -z 127.0.0.1 8080 || exit 1"] interval: 10s timeout: 5s retries: 3 start_period: 90s ports: - 5877:8080 restart: on-failure:5