Skip to content

Commit

Permalink
use image with curl....
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuszkuc committed Oct 28, 2022
1 parent 74739b3 commit 5ae9d9d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ services:
healthcheck:
test: [ "CMD", "curl", "-X", "GET", "http://router:8088/health" ]
interval: 5s
timeout: 10s
retries: 20
timeout: 1s
retries: 10
products:
build:
context: .
Expand All @@ -27,10 +27,10 @@ services:
ports:
- 8080:8080
healthcheck:
test: ["CMD", "curl", "-X", "GET", "http://products:8080/actuator/health"]
test: [ "CMD", "curl", "-X", "GET", "http://products:8080/actuator/health" ]
interval: 5s
timeout: 10s
retries: 20
timeout: 1s
retries: 10
reviews:
build:
context: .
Expand All @@ -40,7 +40,7 @@ services:
ports:
- 8081:8081
healthcheck:
test: ["CMD", "curl", "-X", "GET", "http://reviews:8081/actuator/health"]
test: [ "CMD", "curl", "-X", "GET", "http://reviews:8081/actuator/health" ]
interval: 5s
timeout: 10s
retries: 20
timeout: 1s
retries: 10
2 changes: 1 addition & 1 deletion products-subgraph/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:17-slim-buster
FROM openjdk:17
EXPOSE 8080

ARG JAR_FILE=build/libs/products.jar
Expand Down
2 changes: 1 addition & 1 deletion reviews-subgraph/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:17-slim-buster
FROM openjdk:17
EXPOSE 8081

ARG JAR_FILE=build/libs/reviews.jar
Expand Down

0 comments on commit 5ae9d9d

Please sign in to comment.