Add Docker compose file for healthcheck script

This commit is contained in:
moshferatu 2024-11-13 07:41:12 -08:00
parent c64cb4276d
commit 35518d359b
2 changed files with 24 additions and 0 deletions

View File

@ -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)

23
healthcheck.yaml Normal file
View File

@ -0,0 +1,23 @@
version: "3"
services:
healthcheck:
image: <gitea url>/moshferatu/healthcheck:latest
container_name: healthcheck
networks:
healthcheck:
ipv4_address: <static ip>
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: <subnet>