You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use Github Actions for CI
* spring-petclinic#219 Upgrade to docker-compose v3
* spring-petclinic#219 Remove dockerize from the Dockerfile and add some healthcheck and depends_on to the docker-compose.yml
* spring-petclinic#219 Complete Dockerize removal
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,8 @@ Alternatively you can also build all the images on Podman, which requires Podman
33
33
Once images are ready, you can start them with a single command
34
34
`docker-compose up` or `podman-compose up`.
35
35
36
-
Containers startup order is coordinated with [`dockerize` script](https://github.com/jwilder/dockerize).
36
+
Containers startup order is coordinated with the `service_healthy` condition of the Docker Compose [depends-on](https://github.com/compose-spec/compose-spec/blob/master/spec.md#depends_on) expression
37
+
and the [healthcheck](https://github.com/compose-spec/compose-spec/blob/master/spec.md#healthcheck) of the service containers.
37
38
After starting services, it takes a while for API Gateway to be in sync with service registry,
38
39
so don't be scared of initial Spring Cloud Gateway timeouts. You can track services availability using Eureka dashboard
Copy file name to clipboardExpand all lines: docker/Dockerfile
-10Lines changed: 0 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -4,20 +4,10 @@ ARG ARTIFACT_NAME
4
4
COPY ${ARTIFACT_NAME}.jar application.jar
5
5
RUN java -Djarmode=layertools -jar application.jar extract
6
6
7
-
# Download dockerize and cache that layer
8
-
ARG DOCKERIZE_VERSION
9
-
RUN wget -O dockerize.tar.gz https://github.com/jwilder/dockerize/releases/download/${DOCKERIZE_VERSION}/dockerize-alpine-linux-amd64-${DOCKERIZE_VERSION}.tar.gz
0 commit comments