Rather than waiting 5 seconds and hoping for the best after we boot docker compose, add docker healthchecks and wait for all the containers to be healthy.
10 lines
134 B
Docker
10 lines
134 B
Docker
FROM registry
|
|
|
|
COPY boot.sh .
|
|
|
|
RUN ln -s /shared/certs /certs
|
|
|
|
HEALTHCHECK --interval=1s CMD pgrep registry
|
|
|
|
ENTRYPOINT ["./boot.sh"]
|