mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-23 07:09:52 +01:00
Fix mattermost docker-compose example
This commit is contained in:
parent
e89bb932ea
commit
6d8fd267de
@ -1,6 +1,16 @@
|
|||||||
|
alerting:
|
||||||
|
mattermost:
|
||||||
|
webhook-url: "http://mattermost:8065/hooks/tokengoeshere"
|
||||||
|
insecure: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: example
|
- name: example
|
||||||
url: http://example.org
|
url: http://example.org
|
||||||
interval: 30s
|
interval: 1m
|
||||||
|
alerts:
|
||||||
|
- type: mattermost
|
||||||
|
enabled: true
|
||||||
|
description: "healthcheck failed 3 times in a row"
|
||||||
|
send-on-resolved: true
|
||||||
conditions:
|
conditions:
|
||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
|
@ -1,13 +1,24 @@
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gatus:
|
gatus:
|
||||||
|
container_name: gatus
|
||||||
image: twinproduction/gatus:latest
|
image: twinproduction/gatus:latest
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.yaml:/config/config.yaml
|
- ./config.yaml:/config/config.yaml
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
|
||||||
mattermost-preview:
|
mattermost:
|
||||||
image: mattermost/mattermost-preview:latest
|
container_name: mattermost
|
||||||
|
image: mattermost/mattermost-preview:5.26.0
|
||||||
ports:
|
ports:
|
||||||
- 8065:8065
|
- 8065:8065
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
driver: bridge
|
||||||
|
Loading…
Reference in New Issue
Block a user