docker-compose-wait

A simple script to wait for other docker images to be started while using docker-compose (or Kubernetes or docker stack or whatever) (by ufoscout)

Docker-compose-wait Alternatives

Similar projects and alternatives to docker-compose-wait

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better docker-compose-wait alternative or higher similarity.

docker-compose-wait reviews and mentions

Posts with mentions or reviews of docker-compose-wait. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-08.
  • Azure CD via Pipelines/Docker
    2 projects | /r/ProWordPress | 8 May 2023
    FROM wordpress:cli # Install make tool USER root RUN apk add --no-cache make # Make docker-compose wait for container dependencies be ready # Add the wait script to the image ENV WAIT_VERSION 2.7.2 ADD https://github.com/ufoscout/docker-compose-wait/releases/download/$WAIT_VERSION/wait /wait RUN chmod +x /wait # Add Makefile to scripts dir ADD Makefile entrypoint.sh /scripts/ RUN chmod +x /scripts/entrypoint.sh ENTRYPOINT [ "/scripts/entrypoint.sh" ] USER 33:33 CMD ["wp", "shell"]
  • Any easy way to wait for dependend on containers to actually be ready in docker-compose?
    2 projects | /r/docker | 22 Apr 2022
  • How to NOT expose a container until everything is built?
    1 project | /r/docker | 19 Aug 2021
  • Integration testing with EF Core, part 1
    2 projects | dev.to | 6 Apr 2021
    FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine AS build WORKDIR /src # Get connection string argument from docker compose and set it as an environment variable ARG connection_string ENV ConnectionStrings__Database=${connection_string} # Standard docker build COPY ["tests/Integration.Tests/Integration.Tests.csproj", "Integration.Tests/"] RUN dotnet restore "Integration.Tests/Integration.Tests.csproj" COPY . . WORKDIR "Integration.Tests" # Restore the dotnet-ef command RUN dotnet tool restore RUN dotnet build "Integration.Tests.csproj" -c Release -o /app/build # Install docker-compose-wait to make sure the db server is up & running before moving on ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.5.0/wait /wait RUN chmod +x /wait # Wait for sql server and then migrate the db and run tests CMD /wait && dotnet ef database update --context MyDbContext && dotnet test --no-build
  • How to make sure that the container only starts if Redis and PSQL are ready to accept connections?
    3 projects | /r/podman | 20 Mar 2021
    If youre using docker-compose, I can recommend https://github.com/ufoscout/docker-compose-wait
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic docker-compose-wait repo stats
5
1,587
5.5
4 months ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com