Fix problems that I found on setting up dev env using fig

hi @timlinux, I haven't checked the staging one. But now with this PR, it can run development env from migrating until collecting static. I am still stuck at getting pycharm work to run the development server using the container.