mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #889] Get Error 400 after docker-compose up #626
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#626
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pthoelken on GitHub (Sep 6, 2023).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/889
Hello Community,
I got the Error 400, when I startup the container from lastest version.
@cuu508 commented on GitHub (Sep 8, 2023):
@pthoelken can you please post your docker-compose.yml file (with the sensitive values redacted of course)?
@pthoelken commented on GitHub (Sep 8, 2023):
I will do this later. Thanks for your response.
@pthoelken commented on GitHub (Sep 21, 2023):
So much sorry for my late reply, here is the needed informations.
Latest log entries from
docker-compose logs -fThis is my docker-compose.yml file
I've builded the docker image from your master branch repo first locally and put it into my docker-compose.yml file. The only thing what I changed in the .env file was the db password.
Build command:
docker buildx build -t local/healthcheck:latest .After starting the container I get the following error:

@cuu508 commented on GitHub (Sep 21, 2023):
Thanks for the additional information @pthoelken.
The issue might be with the ALLOWED_HOSTS setting. The default value in the .env file is
localhostbut the screenshot shows you are accessing it as192.168.178.231. Try this in the .env file:@pthoelken commented on GitHub (Sep 21, 2023):
Thanks a lot. Works like charm