diff options
| author | Amjed Ali <[email protected]> | 2022-01-23 20:24:06 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-23 06:54:06 -0800 |
| commit | d20f1e6a3a1a082687041ad27ac2fe2d0ce9d14e (patch) | |
| tree | e44cea8a2f2552dcf632b533a1007823c64881f6 | |
| parent | 34cf1a3e7d44abd5cc7498b02fe56f466c6dae46 (diff) | |
| download | caprover-one-click-apps-d20f1e6a3a1a082687041ad27ac2fe2d0ce9d14e.tar.gz caprover-one-click-apps-d20f1e6a3a1a082687041ad27ac2fe2d0ce9d14e.zip | |
Add Healthchecks (#611)
* Add Apprise
* :lipstick: Formatted
* :sparkles: Add health checks
* :white_check_mark:
* :bug: Added Default value
| -rw-r--r-- | public/v4/apps/healthchecks.yml | 56 | ||||
| -rw-r--r-- | public/v4/logos/healthchecks.png | bin | 0 -> 3335 bytes |
2 files changed, 56 insertions, 0 deletions
diff --git a/public/v4/apps/healthchecks.yml b/public/v4/apps/healthchecks.yml new file mode 100644 index 0000000..3b8187a --- /dev/null +++ b/public/v4/apps/healthchecks.yml @@ -0,0 +1,56 @@ +captainVersion: 4 +services: + # HealthChecks + $$cap_appname: + image: healthchecks/healthchecks:$$cap_hc_version + restart: always + environment: + DB: postgres + DB_HOST: srv-captain--$$cap_appname-db + DB_NAME: hc + DB_PASSWORD: $$cap_postgres_password + DB_PORT: 5432 + DB_SSLMODE: prefer + DB_TARGET_SESSION_ATTRS: read-write + DB_USER: postgres + DEBUG: False + SECRET_KEY: $$cap_gen_random_hex(64) + SITE_ROOT: http://0.0.0.0:8000 + caproverExtra: + containerHttpPort: '8000' + # Postgres + $$cap_appname-db: + image: postgres:12 + volumes: + - $$cap_appname-db-data:/var/lib/postgresql/data + restart: always + environment: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: $$cap_postgres_password + POSTGRES_DB: hc + caproverExtra: + notExposeAsWebApp: 'true' +caproverOneClickApp: + variables: + - id: $$cap_hc_version + label: hc Manifest digest + defaultValue: 'v1.25.0' + description: Find on https://hub.docker.com/r/healthchecks/healthchecks/tags + - id: $$cap__postgres_password + label: Postgres Password + description: Password must be at least 12 characters. Please use a random string. + defaultValue: $$cap_gen_random_hex(16) + validRegex: /^[^\@]{12,}$/ + instructions: + start: |- + Healthchecks is a cron job monitoring service. It listens for HTTP requests and email messages ("pings") from your cron jobs and scheduled tasks ("checks"). When a ping does not arrive on time, Healthchecks sends out alerts. + Github: https://github.com/healthchecks/healthchecks + + end: |- + Aaaand you're done! 😄 + Your service is available at http://$$cap_appname.$$cap_root_domain + More environment variables can be found at https://github.com/healthchecks/healthchecks/blob/master/docker/.env + displayName: 'HealthChecks' + isOfficial: true + description: Healthchecks is a cron job monitoring service. + documentation: https://github.com/healthchecks/healthchecks diff --git a/public/v4/logos/healthchecks.png b/public/v4/logos/healthchecks.png Binary files differnew file mode 100644 index 0000000..0441eff --- /dev/null +++ b/public/v4/logos/healthchecks.png |
