trow
docker-compose-wait
Our great sponsors
trow | docker-compose-wait | |
---|---|---|
1 | 5 | |
872 | 1,588 | |
2.5% | - | |
7.4 | 5.5 | |
17 days ago | 4 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
trow
docker-compose-wait
-
Azure CD via Pipelines/Docker
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?
- How to NOT expose a container until everything is built?
-
Integration testing with EF Core, part 1
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?
If youre using docker-compose, I can recommend https://github.com/ufoscout/docker-compose-wait
What are some alternatives?
responsively-app - A modified web browser that helps in responsive web development. A web developer's must have dev-tool.
Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
nextra - Simple, powerful and flexible site generation framework with everything you love from Next.js.
docuum - Docuum performs least recently used (LRU) eviction of Docker images. 🗑️
fusuma - ✍️ Fusuma makes slides with Markdown easily.
Habitus - A build flow tool for Docker.
osx-serial-generator - Mac Serial Generator - Generate complete sets of Serial Numbers for OSX-KVM, Docker-OSX and of course, OpenCore.
modus - A language for building Docker/OCI container images
budibase - Budibase is an open-source low code platform that helps you build internal tools in minutes 🚀
Docker Compose - Define and run multi-container applications with Docker
rash - Declarative shell scripting using Rust native bindings inspired by Ansible
oci-lib - oci-image and oci-runtime spec in rust. Un-official mirror of libocispec.