We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4043fae + ef7dff7 commit 857f416Copy full SHA for 857f416
docker/Dockerfile
@@ -71,7 +71,7 @@ COPY packages/backend/package.json packages/backend/
71
72
EXPOSE 3001
73
74
-HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
+HEALTHCHECK --interval=30s --timeout=5s --start-period=45s --retries=3 \
75
CMD wget -qO- http://127.0.0.1:3001/api/v1/health || exit 1
76
77
USER node
docker/docker-compose.yml
@@ -13,6 +13,12 @@ services:
13
depends_on:
14
postgres:
15
condition: service_healthy
16
+ healthcheck:
17
+ test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:3001/api/v1/health || exit 1"]
18
+ interval: 30s
19
+ timeout: 5s
20
+ start_period: 45s
21
+ retries: 3
22
read_only: true
23
tmpfs:
24
- /tmp
0 commit comments