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

docker compose healthcheck && depends_on #179

Open
ondrejsika opened this issue Jan 30, 2024 · 0 comments
Open

docker compose healthcheck && depends_on #179

ondrejsika opened this issue Jan 30, 2024 · 0 comments

Comments

@ondrejsika
Copy link
Owner

ondrejsika commented Jan 30, 2024

    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 2s
      timeout: 1s
      retries: 10
    depends_on:
      redis:
        condition: service_healthy
@ondrejsika ondrejsika changed the title docker compose healthcheck docker compose healthcheck && depends_on Jan 30, 2024
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