Skip to content

Commit

Permalink
Merge pull request #44 from City-of-Helsinki/fix/influx_healthcheck
Browse files Browse the repository at this point in the history
Fix influxdb health check
  • Loading branch information
aapris authored Oct 17, 2023
2 parents 18868d9 + 49c60b0 commit bcb72bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ services:
DOCKER_INFLUXDB_INIT_BUCKET: devbucket
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN: "insercure-token-for-development-and-testing-purposes-only-KxU4jAU23H3vTk"
healthcheck:
test: ["CMD", "curl", "influxdb2:18086/api/v2/ping"]
interval: 1m
timeout: 10s
test: "curl --fail localhost:8086/health"
interval: 10s
timeout: 5s
retries: 5

volumes:
Expand Down

0 comments on commit bcb72bc

Please sign in to comment.