Skip to content

Commit

Permalink
fix healthcheck in dockerfile (#10894)
Browse files Browse the repository at this point in the history
  • Loading branch information
thrau committed May 24, 2024
1 parent 958890a commit e9b53d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ RUN echo /usr/lib/localstack/python-packages/lib/python3.11/site-packages > loca
# 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 --format=json
HEALTHCHECK --interval=10s --start-period=15s --retries=5 --timeout=5s CMD .venv/bin/localstack status services --format=json

# default volume directory
VOLUME /var/lib/localstack
Expand Down
2 changes: 2 additions & 0 deletions localstack-core/localstack/logging/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"s3transfer": logging.INFO,
"urllib3": logging.WARNING,
"werkzeug": logging.WARNING,
"rolo": logging.WARNING,
"localstack.aws.accounts": logging.INFO,
"localstack.aws.protocol.serializer": logging.INFO,
"localstack.aws.serving.wsgi": logging.WARNING,
Expand All @@ -32,6 +33,7 @@
}

trace_log_levels = {
"rolo": logging.DEBUG,
"localstack.aws.protocol.serializer": logging.DEBUG,
"localstack.aws.serving.wsgi": logging.DEBUG,
"localstack.request": logging.DEBUG,
Expand Down

0 comments on commit e9b53d9

Please sign in to comment.