diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 69763fd..28898be 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -19,7 +19,6 @@ jobs: lint: name: Lint (ruff/black/mypy) runs-on: ubuntu-latest - if: github.event_name != 'schedule' strategy: fail-fast: false max-parallel: 2 @@ -59,7 +58,6 @@ jobs: name: Semantic Release runs-on: ubuntu-latest needs: [lint] - if: github.event_name != 'schedule' outputs: published: ${{ steps.semrel.outputs.new_release_published }} version: ${{ steps.semrel.outputs.new_release_version }} diff --git a/docker-compose.yaml b/docker-compose.yaml index 87a4134..9d540c6 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -11,6 +11,12 @@ services: environment: - TZ=${TZ:-UTC} - CONFIG_PATH=/config/config.yaml + healthcheck: + test: ["CMD", "python3", "/app/src/healthcheck.py"] + interval: 60s + timeout: 5s + retries: 3 + start_period: 20s labels: org.opencontainers.image.title: "amcrest2mqtt" org.opencontainers.image.description: "Publishes Amcrest camera events and states via MQTT"