From 35518d359bb668a41e3b4baf3de88c2cb93d26f6 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Wed, 13 Nov 2024 07:41:12 -0800 Subject: [PATCH] Add Docker compose file for healthcheck script --- README.md | 1 + healthcheck.yaml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 healthcheck.yaml diff --git a/README.md b/README.md index 03f39e7..eb7aa29 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Each service has its own YAML file which defines the configuration for that serv - [Cloudflare Tunnel](./cloudflare-tunnel.yaml) - [Download SPX Quotes](./download-spx-quotes.yaml) - [Gitea](./gitea.yaml) +- [Healthcheck](./healthcheck.yaml) - [Homebridge](./homebridge.yaml) - [IBKR Gateway](./ibkr-gateway.yaml) - [Immich](./immich.yaml) diff --git a/healthcheck.yaml b/healthcheck.yaml new file mode 100644 index 0000000..2ce21f5 --- /dev/null +++ b/healthcheck.yaml @@ -0,0 +1,23 @@ +version: "3" +services: + healthcheck: + image: /moshferatu/healthcheck:latest + container_name: healthcheck + networks: + healthcheck: + ipv4_address: + volumes: + - //var/run/docker.sock:/var/run/docker.sock + environment: + - CHECK_INTERVAL= + - MOSHFERATU_DEV_URL= + - MOSHFERATU_DEV_CONTAINER= + - MOSHINGTON_URL= + - MOSHINGTON_CONTAINER= + restart: unless-stopped +networks: + healthcheck: + name: healthcheck + ipam: + config: + - subnet: \ No newline at end of file