Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorm committed Dec 23, 2024
1 parent 614e97a commit f9fee94
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
21 changes: 12 additions & 9 deletions examples/traefik-grafana/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ services:
DOMAIN: "${DOMAIN:?}"
healthcheck:
test: ["CMD", "traefik", "healthcheck"]
start_period: "60s"
interval: "10s"
timeout: "5s"
start_period: "120s"
start_interval: "5s"
interval: "30s"
timeout: "10s"
retries: 2

hblock-resolver:
Expand Down Expand Up @@ -76,9 +77,10 @@ services:
GF_ANALYTICS_CHECK_FOR_UPDATES: "false"
healthcheck:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:3000/api/health"]
start_period: "60s"
interval: "10s"
timeout: "5s"
start_period: "120s"
start_interval: "5s"
interval: "30s"
timeout: "10s"
retries: 2

prometheus:
Expand All @@ -99,9 +101,10 @@ services:
- "--web.console.templates=/usr/share/prometheus/consoles/"
healthcheck:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:9090/prometheus/-/healthy"]
start_period: "60s"
interval: "10s"
timeout: "5s"
start_period: "120s"
start_interval: "5s"
interval: "30s"
timeout: "10s"
retries: 2

volumes:
Expand Down
7 changes: 4 additions & 3 deletions examples/traefik/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ services:
DOMAIN: "${DOMAIN:?}"
healthcheck:
test: ["CMD", "traefik", "healthcheck"]
start_period: "60s"
interval: "10s"
timeout: "5s"
start_period: "120s"
start_interval: "5s"
interval: "30s"
timeout: "10s"
retries: 2

hblock-resolver:
Expand Down

0 comments on commit f9fee94

Please sign in to comment.