Dokploy

Gatus

Gatus is an automated service health dashboard for monitoring HTTP, DNS, TCP, ICMP, and other endpoints.

Gatus logo

Configuration

version: "3.8"

services:
  gatus:
    image: ghcr.io/twin/gatus:v5.36.0
    restart: unless-stopped
    expose:
      - 8080
    volumes:
      - gatus-data:/data
      - ../files/config.yaml:/config/config.yaml:ro

volumes:
  gatus-data: {}
[variables]
main_domain = "${domain}"
monitor_name = "Example website"
monitor_url = "https://example.org/"

[config]
[[config.domains]]
serviceName = "gatus"
port = 8080
host = "${main_domain}"

[[config.mounts]]
filePath = "config.yaml"
content = """
storage:
  type: sqlite
  path: /data/data.db

ui:
  title: Gatus
  header: Gatus

endpoints:
  - name: ${monitor_name}
    group: external
    url: "${monitor_url}"
    interval: 5m
    conditions:
      - "[STATUS] == 200"
      - "[CERTIFICATE_EXPIRATION] > 48h"
"""

Base64

To import this template in Dokploy: create a Compose service → AdvancedBase64 import and paste the content below:

ewogICJjb21wb3NlIjogInZlcnNpb246IFwiMy44XCJcblxuc2VydmljZXM6XG4gIGdhdHVzOlxuICAgIGltYWdlOiBnaGNyLmlvL3R3aW4vZ2F0dXM6djUuMzYuMFxuICAgIHJlc3RhcnQ6IHVubGVzcy1zdG9wcGVkXG4gICAgZXhwb3NlOlxuICAgICAgLSA4MDgwXG4gICAgdm9sdW1lczpcbiAgICAgIC0gZ2F0dXMtZGF0YTovZGF0YVxuICAgICAgLSAuLi9maWxlcy9jb25maWcueWFtbDovY29uZmlnL2NvbmZpZy55YW1sOnJvXG5cbnZvbHVtZXM6XG4gIGdhdHVzLWRhdGE6IHt9XG4iLAogICJjb25maWciOiAiW3ZhcmlhYmxlc11cbm1haW5fZG9tYWluID0gXCIke2RvbWFpbn1cIlxubW9uaXRvcl9uYW1lID0gXCJFeGFtcGxlIHdlYnNpdGVcIlxubW9uaXRvcl91cmwgPSBcImh0dHBzOi8vZXhhbXBsZS5vcmcvXCJcblxuW2NvbmZpZ11cbltbY29uZmlnLmRvbWFpbnNdXVxuc2VydmljZU5hbWUgPSBcImdhdHVzXCJcbnBvcnQgPSA4MDgwXG5ob3N0ID0gXCIke21haW5fZG9tYWlufVwiXG5cbltbY29uZmlnLm1vdW50c11dXG5maWxlUGF0aCA9IFwiY29uZmlnLnlhbWxcIlxuY29udGVudCA9IFwiXCJcIlxuc3RvcmFnZTpcbiAgdHlwZTogc3FsaXRlXG4gIHBhdGg6IC9kYXRhL2RhdGEuZGJcblxudWk6XG4gIHRpdGxlOiBHYXR1c1xuICBoZWFkZXI6IEdhdHVzXG5cbmVuZHBvaW50czpcbiAgLSBuYW1lOiAke21vbml0b3JfbmFtZX1cbiAgICBncm91cDogZXh0ZXJuYWxcbiAgICB1cmw6IFwiJHttb25pdG9yX3VybH1cIlxuICAgIGludGVydmFsOiA1bVxuICAgIGNvbmRpdGlvbnM6XG4gICAgICAtIFwiW1NUQVRVU10gPT0gMjAwXCJcbiAgICAgIC0gXCJbQ0VSVElGSUNBVEVfRVhQSVJBVElPTl0gPiA0OGhcIlxuXCJcIlwiXG4iCn0=

Tags

monitoring, status-page, uptime, observability


Version: v5.36.0

On this page