Skip to content

Conversation

@arnesetzer
Copy link
Contributor

Two small changes:

  1. Since the current health check command results in [invalid docker ](yaml: line 25: found unknown escape character) I changed it to use -g which disables curl to interpret {}[] and therefore they do not need to be escaped which resolves the docker compose error message.
  2. I also simplified the command since test: ["CMD-SHELL", "curl -f http://localhost || exit 1"] and test: curl -f https://localhost || exit 1 are equivalent, I do not see any reason to complicate the syntax more than necessary.

@wiktorn wiktorn merged commit 0e6da86 into wiktorn:master Aug 3, 2025
@arnesetzer arnesetzer deleted the fix/healthcheck-compose branch August 6, 2025 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants