Published Question
I am trying to set up a Django back-end, with a React front-end, both running inside a Docker container, using docker-compose to expose them at different ports (8000 for the Django app, 3000 for the React app. When I ...
Accepted Answer:
Here was the problem: Apparently using the .env file -- even after placing print(ALLOWED_HOSTS) to ensure the host was found -- does not actually work for some reason. I simply had to restore the ALLOWED_HOSTS setting...
1
•
•
By
jakuta
Python
Django
React
Docker