Skip to content

Commit 9f947e4

Browse files
committed
uniformize
1 parent 5d9be00 commit 9f947e4

File tree

7 files changed

+19
-19
lines changed

7 files changed

+19
-19
lines changed

services/agent/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ RUN chmod +x services/agent/docker/*.sh
149149

150150

151151
HEALTHCHECK \
152-
--interval=30s \
153-
--timeout=20s \
152+
--interval=10s \
153+
--timeout=5s \
154154
--start-period=20s \
155155
--start-interval=1s \
156-
--retries=3 \
156+
--retries=5 \
157157
CMD ["python3", "services/agent/docker/healthcheck.py", "http://localhost:8000/health"]
158158

159159
EXPOSE 8000

services/director-v2/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ RUN chmod +x services/director-v2/docker/*.sh
142142

143143

144144
HEALTHCHECK \
145-
--interval=30s \
146-
--timeout=20s \
145+
--interval=10s \
146+
--timeout=5s \
147147
--start-period=20s \
148148
--start-interval=1s \
149-
--retries=3 \
149+
--retries=5 \
150150
CMD ["python3", "services/director-v2/docker/healthcheck.py", "http://localhost:8000/"]
151151

152152
ENTRYPOINT [ "/bin/sh", "services/director-v2/docker/entrypoint.sh" ]

services/dynamic-scheduler/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ RUN chmod +x services/dynamic-scheduler/docker/*.sh
142142

143143

144144
HEALTHCHECK \
145-
--interval=30s \
146-
--timeout=20s \
145+
--interval=10s \
146+
--timeout=5s \
147147
--start-period=20s \
148148
--start-interval=1s \
149-
--retries=3 \
149+
--retries=5 \
150150
CMD ["python3", "services/dynamic-scheduler/docker/healthcheck.py", "http://localhost:8000/health"]
151151

152152
ENTRYPOINT [ "/bin/sh", "services/dynamic-scheduler/docker/entrypoint.sh" ]

services/invitations/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ RUN chmod +x services/invitations/docker/*.sh
142142

143143

144144
HEALTHCHECK \
145-
--interval=30s \
146-
--timeout=20s \
145+
--interval=10s \
146+
--timeout=5s \
147147
--start-period=20s \
148148
--start-interval=1s \
149-
--retries=3 \
149+
--retries=5 \
150150
CMD ["python3", "services/invitations/docker/healthcheck.py", "http://localhost:8000/"]
151151

152152
ENTRYPOINT [ "/bin/sh", "services/invitations/docker/entrypoint.sh" ]

services/migration/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ COPY --chown=scu:scu --from=build ${VIRTUAL_ENV} ${VIRTUAL_ENV}
9696
COPY --chown=scu:scu services/migration/docker services/migration/docker
9797

9898
HEALTHCHECK \
99-
--interval=5s \
100-
--timeout=10s \
99+
--interval=10s \
100+
--timeout=5s \
101101
--start-period=20s \
102102
--start-interval=1s \
103-
--retries=50 \
103+
--retries=5 \
104104
CMD [ "/bin/sh", "/home/scu/services/migration/docker/healthcheck.sh"]
105105

106106
ENTRYPOINT [ "/bin/sh", "services/migration/docker/entrypoint.sh" ]

services/payments/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ RUN chmod +x services/payments/docker/*.sh
142142

143143

144144
HEALTHCHECK \
145-
--interval=30s \
146-
--timeout=20s \
145+
--interval=10s \
146+
--timeout=5s \
147147
--start-period=20s \
148148
--start-interval=1s \
149-
--retries=3 \
149+
--retries=5 \
150150
CMD ["python3", "services/payments/docker/healthcheck.py", "http://localhost:8000/"]
151151

152152
ENTRYPOINT [ "/bin/sh", "services/payments/docker/entrypoint.sh" ]

services/storage/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ RUN chmod +x services/storage/docker/*.sh
154154

155155
HEALTHCHECK \
156156
--interval=10s \
157-
--timeout=15s \
157+
--timeout=5s \
158158
--start-period=20s \
159159
--start-interval=1s \
160160
--retries=5 \

0 commit comments

Comments
 (0)