The issues you are encountering might result from a misconfiguration between how static files are handled by Nginx and the file system paths in your container. I found it helpful to double-check that your static files are correctly collected into the location expected by Nginx and that the paths and volume mounts in your docker-compose file match those locations. It also helps to verify that migrations run sequentially after your service dependencies are up, ensuring that the backend is fully ready before the frontend attempts connections.
hey, had the same misconfig issues. check your nginx static path and volume mounts - seems they wont match correctly, causing race condtions on migraitons. i fixed mine using a careful container start order. hope it helps
hey, im curious if u tried tweakin your nginx settings for static stuff along with your collectstatic? sometimes a tiny config mismatch makes all the difference. what migration order combos did u test? keen to hear more about ur experince and fixes