Skip to content

Commit 511f0a1

Browse files
committed
anms-core healthcheck
1 parent e8ef31b commit 511f0a1

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

anms-core/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ COPY --chmod=755 docker-entrypoint.sh /usr/local/bin/
4848
USER ${APP_USER}
4949
CMD ["/usr/local/bin/docker-entrypoint.sh"]
5050

51-
HEALTHCHECK --interval=60s --timeout=60s --retries=20 \
51+
HEALTHCHECK --start-period=10s --interval=60s --timeout=10s --retries=20 \
5252
CMD ["curl", "-sq", "-o/dev/null", "http://localhost:5555/hello"]

anms-ui/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ COPY --chown=${APP_USER}:${APP_USER} config.yaml process.yml config_ui_env.js da
7979

8080
CMD ["pm2-docker", "process.yml", "--env", "production"]
8181

82-
HEALTHCHECK --start-period=10s --interval=60s --timeout=60s --retries=20 \
82+
HEALTHCHECK --start-period=10s --interval=60s --timeout=10s --retries=20 \
8383
CMD ["pm2", "pid", "anms"]
8484

8585
EXPOSE 9030

transcoder/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
##
23
## Copyright (c) 2023 The Johns Hopkins University Applied Physics
34
## Laboratory LLC.
@@ -23,7 +24,6 @@ FROM localhost/dtnma-acelib
2324

2425
ENV APP_WORK_DIR=/opt/app
2526

26-
2727
# Copy over all required content (source, data, etc.)
2828
COPY --chown=${APP_USER}:${APP_USER} . ${APP_WORK_DIR}
2929
# Install all python dependencies
@@ -37,5 +37,3 @@ COPY --chmod=755 docker-entrypoint.sh /usr/local/bin/
3737
# Remaining commands as this user
3838
USER ${APP_USER}:${APP_USER}
3939
CMD ["/usr/local/bin/docker-entrypoint.sh"]
40-
41-

0 commit comments

Comments
 (0)