Skip to content

Conversation

@walison17
Copy link
Collaborator

fix #128

The healthcheck test type CMD-SHELL expect the whole command to be in a single string

test: ["CMD-SHELL", "pg_isready", "-d", "talkdai", "-U", "talkdai"]
interval: 30s
timeout: 60s
test: ["CMD", "pg_isready", "-d", "talkdai", "-U", "talkdai"]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we prefer to continue using CMD-SHELL the correct syntax is this

Suggested change
test: ["CMD", "pg_isready", "-d", "talkdai", "-U", "talkdai"]
test: ["CMD-SHELL", "pg_isready -d talkdai -U talkdai"]
@vmesel vmesel merged commit f0dfbfd into talkdai:main Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants