Skip to content

Commit 74248cf

Browse files
committed
nginx healthcheck
1 parent 2843161 commit 74248cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker-compose.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ services:
7272
- backend
7373
networks:
7474
- app-network
75+
healthcheck:
76+
test: ["curl", "-f", "http://localhost:80"]
77+
interval: 10s
78+
timeout: 5s
79+
retries: 3
7580

7681
test:
7782
build: ./test

0 commit comments

Comments
 (0)