Skip to content

Commit

Permalink
add HEALTHCHECK to Dockerfile (#6297)
Browse files Browse the repository at this point in the history
  • Loading branch information
cspray committed Jun 22, 2022
1 parent 0239945 commit c8ed65c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Expand Up @@ -257,5 +257,7 @@ ENV LOCALSTACK_BUILD_VERSION=${LOCALSTACK_BUILD_VERSION}
# expose edge service, external service ports, and debugpy
EXPOSE 4566 4510-4559 5678

HEALTHCHECK --interval=10s --start-period=15s --retries=5 --timeout=5s CMD ./bin/localstack status services

# define command at startup
ENTRYPOINT ["docker-entrypoint.sh"]
2 changes: 2 additions & 0 deletions Dockerfile.rh
Expand Up @@ -58,5 +58,7 @@ ENV LOCALSTACK_BUILD_GIT_HASH=${LOCALSTACK_BUILD_GIT_HASH}
# expose ports
EXPOSE 4510-4559 4566

HEALTHCHECK --interval=10s --start-period=15s --retries=5 --timeout=5s CMD ./bin/localstack status services

# define command at startup
ENTRYPOINT ["docker-entrypoint.sh"]

0 comments on commit c8ed65c

Please sign in to comment.