generated from coop-cloud/example
Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
bd875e0801 | |||
d7921ca1b6 | |||
2f5017e3ee | |||
c4cda0d1a7 | |||
d793b4d433 | |||
0eacf26f3c | |||
2f1f0c0dd8 | |||
689de62d08 | |||
d58b06299d | |||
38d9dc3821 | |||
0352508575 |
@ -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
|
@ -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
|
||||||
@ -23,7 +23,7 @@ See [this wiki page](https://github.com/statping-ng/statping-ng/wiki/Docker/) fo
|
|||||||
4. `abra app config YOURAPPDOMAIN` - 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 deploy YOURAPPDOMAIN`
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user