Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавить healthcheck'и #22

Open
PlugFox opened this issue Mar 26, 2022 · 0 comments
Open

Добавить healthcheck'и #22

PlugFox opened this issue Mar 26, 2022 · 0 comments

Comments

@PlugFox
Copy link

PlugFox commented Mar 26, 2022

Типа такого надо добавить

healthcheck:
  test: curl --fail -s http://127.0.0.1:8080/health || exit 1
  interval: 30s
  timeout: 15s
  retries: 3

Можно в образы даже типа таких скриптов добавить
https://github.com/docker-library/healthcheck

Чтоб проверять в тч и жизнеспособность постгресов и всякого такого, а не только того где можно хттп ручки сделать

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

No branches or pull requests

1 participant