Add Docker compose file for healthcheck script
This commit is contained in:
parent
c64cb4276d
commit
35518d359b
@ -12,6 +12,7 @@ Each service has its own YAML file which defines the configuration for that serv
|
|||||||
- [Cloudflare Tunnel](./cloudflare-tunnel.yaml)
|
- [Cloudflare Tunnel](./cloudflare-tunnel.yaml)
|
||||||
- [Download SPX Quotes](./download-spx-quotes.yaml)
|
- [Download SPX Quotes](./download-spx-quotes.yaml)
|
||||||
- [Gitea](./gitea.yaml)
|
- [Gitea](./gitea.yaml)
|
||||||
|
- [Healthcheck](./healthcheck.yaml)
|
||||||
- [Homebridge](./homebridge.yaml)
|
- [Homebridge](./homebridge.yaml)
|
||||||
- [IBKR Gateway](./ibkr-gateway.yaml)
|
- [IBKR Gateway](./ibkr-gateway.yaml)
|
||||||
- [Immich](./immich.yaml)
|
- [Immich](./immich.yaml)
|
||||||
|
23
healthcheck.yaml
Normal file
23
healthcheck.yaml
Normal 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>
|
Loading…
Reference in New Issue
Block a user