# 00-self.yaml — managed by Ansible (roles/gatus) # # Gatus refuses to start with no endpoints at all: # panic: error parsing config: configuration should contain at least one # endpoint or suite # # So the role ships one. Checking its own listener is not as circular as it # looks: it proves the config directory parsed, the container is serving, and # the storage backend accepted a write. If this row is missing from the # dashboard, the dashboard is not telling you the truth about anything else. # # It is also what keeps `gatus` deployable before any service has contributed # an endpoint file of its own. endpoints: - name: gatus group: infrastructure url: "http://localhost:{{ gatus_port }}/health" interval: 60s conditions: - "[STATUS] == 200" {% if gatus_default_alerts %} alerts: {{ gatus_default_alerts | to_nice_yaml(indent=2) | indent(6, true) }} {% endif %}