mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-01-14 21:23:29 +01:00
Setup - Bad request (400) #1
Reference in New Issue
Block a user
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 @robinvoor on GitHub (Jan 16, 2025).
I'm trying to setup this project. After running
docker-compose up -dall containers have successfully started, but I still get a 'Bad request (400)' error. Not sure what to enter atURL, that might be the problem.See the screenshot below for my docker-compose and .env settings:
Edit
Also tried
HTTPS_ENABLED=false.@gijsprins93 commented on GitHub (Jan 16, 2025):
I have the exact same issue.
@eitchtee commented on GitHub (Jan 16, 2025):
First thing, trying set
DEBUGtotrueand check if it works. Or see what error message you get.If it does, and you're not exposing this to the internet in any way, just using it locally, try setting
DJANGO_ALLOWED_HOSTSto*.Let me know how it goes.
@gijsprins93 commented on GitHub (Jan 16, 2025):
Oh i found the "answer" in the logging of the server container. at the allowed hosts variable, fill in the hosts ip address of your docker machine. man...
@robinvoor commented on GitHub (Jan 16, 2025):
As @gijsprins93 mentioned, I needed to put the host IP address of the docker server on the
URL. You might want to mention this in the README @eitchtee