News for hackers. Stuff that matters.
Re:Show HN: Is_ready – Wait for many services to become avai... by stavepan on Sunday April 28, 2024 @08:20AM (#40188068)
Many people have the following setup in docker-compose.yml file.

version: '3' services: mysql: image: mysql:8.0

  app:
    build: .
    command: is_ready --timeout 10 --addr mysql:3306 -- <run migrations command>
For cases like this, returning 503 every time the database is not ready, is not very convenient.

There are no comments on this comment yet.