Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix healthcheck in dockerfile #10894

Merged
merged 2 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading