-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Bad request - Error 400 #38
Comments
Getting the same with latest build of the container. Not using macvlan. |
I sorted it by reading the Production guide.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Here is an error I encountered with its solution.
Expected Behavior
When using the docker-compose.yml file below and starting it with
docker-compose up
the application should work.Current Behavior
The docker seems to start properly without yielding errors but trying to access the application returns 400 errors.
This is usually a sign that "ALLOWED_HOSTS" is not properly configured but I did include the environment variable in the docker-compose file.
Solution
The mounted volume
/config
contains a filelocal_settings.py
that seems to take precedence over the environment variables :The solution is to modify the parameters directly in this file. Hope this saves some time for someone else.
The text was updated successfully, but these errors were encountered: