16 Commits

Author SHA1 Message Date
bd875e0801 more reliable healthcheck 2025-03-10 14:57:04 -04:00
d7921ca1b6 use statping health endpoint 2025-03-03 22:21:55 -05:00
2f5017e3ee update readme 2025-03-02 16:04:53 -05:00
c4cda0d1a7 remove accidental copy 2025-03-02 16:04:29 -05:00
d793b4d433 add proper healthcheck 2025-03-02 00:54:03 -05:00
0eacf26f3c update comment 2025-03-02 00:50:16 -05:00
2f1f0c0dd8 remove extra domains from env as it is not included in compose file 2025-03-02 00:41:57 -05:00
689de62d08 update readme links and include default admin info 2025-03-02 00:39:07 -05:00
d58b06299d add sample data env var and set to false 2025-03-02 00:37:14 -05:00
38d9dc3821 update variables 2025-03-02 00:34:53 -05:00
0352508575 bump container version, switch to github container repo 2025-03-02 00:33:57 -05:00
a885f7bf98 Update .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-08 10:09:13 -08:00
3wc
d2815d13b3 Switch to self-hosted stack-ssh-deploy image [mass update]
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-21 11:49:56 -08:00
3wc
47ca9cedbb Fix CI by adding networks: [mass update]
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-20 11:58:41 -08:00
3wc
9ccf802176 Automatically generate catalogue on release [mass update]
Some checks failed
continuous-integration/drone/push Build is failing
Re: coop-cloud/recipes-catalogue-json#4
2023-01-20 10:27:12 -08:00
3wc
c9219fc2b1 Update abra syntax in examples (finally) [mass update]
Some checks failed
continuous-integration/drone/push Build is failing
2023-01-19 16:02:28 -08:00
4 changed files with 34 additions and 19 deletions

View File

@ -3,10 +3,12 @@ kind: pipeline
name: deploy to swarm-test.autonomic.zone name: deploy to swarm-test.autonomic.zone
steps: steps:
- name: deployment - name: deployment
image: decentral1se/stack-ssh-deploy:latest image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
settings: settings:
host: swarm-test.autonomic.zone host: swarm-test.autonomic.zone
stack: statping stack: statping
networks:
- proxy
purge: true purge: true
deploy_key: deploy_key:
from_secret: drone_ssh_swarm_test from_secret: drone_ssh_swarm_test
@ -19,11 +21,17 @@ trigger:
- main - main
--- ---
kind: pipeline kind: pipeline
name: recipe release name: generate recipe catalogue
steps: steps:
- name: release a new version - name: release a new version
image: thecoopcloud/drone-abra:latest image: plugins/downstream
settings: settings:
command: recipe statping release server: https://build.coopcloud.tech
deploy_key: token:
from_secret: abra_bot_deploy_key from_secret: drone_abra-bot_token
fork: true
repositories:
- toolshed/auto-recipes-catalogue-json
trigger:
event: tag

View File

@ -2,10 +2,9 @@ TYPE=statping
DOMAIN=statping.example.com DOMAIN=statping.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.statping.example.com`'
LETS_ENCRYPT_ENV=production LETS_ENCRYPT_ENV=production
SITE_NAME="Statping" SITE_NAME="Statping"
SITE_DESCRIPTION="Status monitor" SITE_DESCRIPTION="Status monitor"
SAMPLE_DATA="false" # Insert example services to display monitor functionality

View File

@ -5,9 +5,9 @@ Status Page for monitoring your websites and applications with beautiful graphs,
See [this wiki page](https://github.com/statping-ng/statping-ng/wiki/Docker/) for more technical Docker related documentation. See [this wiki page](https://github.com/statping-ng/statping-ng/wiki/Docker/) for more technical Docker related documentation.
<!-- metadata --> <!-- metadata -->
* **Category**: Apps * **Category**: Apps
* **Status**: 1, alpha * **Status**: 2, alpha
* **Image**: [`adamboutcher/statping-ng`](https://hub.docker.com/r/adamboutcher/statping-ng/), 4, upstream * **Image**: [`statping-ng/statping-ng`](https://github.com/statping-ng/statping-ng/pkgs/container/statping-ng/), 4, upstream
* **Healthcheck**: No * **Healthcheck**: Yes
* **Backups**: No * **Backups**: No
* **Email**: 1 * **Email**: 1
* **Tests**: No * **Tests**: No
@ -20,10 +20,10 @@ See [this wiki page](https://github.com/statping-ng/statping-ng/wiki/Docker/) fo
2. Deploy [`coop-cloud/traefik`] 2. Deploy [`coop-cloud/traefik`]
3. `abra app new statping --secrets` (optionally with `--pass` if you'd like 3. `abra app new statping --secrets` (optionally with `--pass` if you'd like
to save secrets in `pass`) to save secrets in `pass`)
4. `abra app YOURAPPDOMAIN config` - be sure to change `DOMAIN` to something that resolves to 4. `abra app config YOURAPPDOMAIN` - be sure to change `DOMAIN` to something that resolves to
your Docker swarm box your Docker swarm box
5. `abra app YOURAPPDOMAIN deploy` 5. `abra app deploy YOURAPPDOMAIN`
6. Open the configured domain in your browser to finish set-up 6. Open the configured domain in a browser, the default login is `admin` and password `admin`, change this immediately
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra [`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik [`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik

View File

@ -1,14 +1,14 @@
version: "3.8" version: "3.8"
services: services:
app: app:
image: adamboutcher/statping-ng:v0.90.78 image: ghcr.io/statping-ng/statping-ng:0.92
networks: networks:
- proxy - proxy
volumes: volumes:
- statping:/app - statping:/app
environment: environment:
VIRTUAL_HOST: localhost HOST: localhost
VIRTUAL_PORT: 8080 PORT: 8080
DB_CONN: sqlite DB_CONN: sqlite
NAME: ${SITE_NAME} NAME: ${SITE_NAME}
DESCRIPTION: ${SITE_DESCRIPTION} DESCRIPTION: ${SITE_DESCRIPTION}
@ -22,9 +22,17 @@ services:
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080" - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- coop-cloud.${STACK_NAME}.version=0.1.1+v0.90.78 - "coop-cloud.${STACK_NAME}.version=0.1.1+v0.90.78"
healthcheck:
test: ["CMD", "curl", "-s", "http://localhost:8080/health"]
interval: 30s
retries: 3
start_period: 10s
timeout: 10s
networks: networks:
proxy: proxy:
external: true external: true
volumes: volumes:
statping: statping: