generated from coop-cloud/example
Compare commits
16 Commits
0.1.1+v0.9
...
main
Author | SHA1 | Date | |
---|---|---|---|
bd875e0801 | |||
d7921ca1b6 | |||
2f5017e3ee | |||
c4cda0d1a7 | |||
d793b4d433 | |||
0eacf26f3c | |||
2f1f0c0dd8 | |||
689de62d08 | |||
d58b06299d | |||
38d9dc3821 | |||
0352508575 | |||
a885f7bf98 | |||
d2815d13b3 | |||
47ca9cedbb | |||
9ccf802176 | |||
c9219fc2b1 |
20
.drone.yml
20
.drone.yml
@ -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
|
||||||
|
@ -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
|
12
README.md
12
README.md
@ -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
|
||||||
|
16
compose.yml
16
compose.yml
@ -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:
|
||||||
|
Reference in New Issue
Block a user