The problem is that now when you deploy containers, migrations do not happen.
Replacing the command in docker-compose.yml:
command: python manage.py runserver 0.0.0.0:8000
with
command: sh -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
ensures that migrations are performed before the server starts. Upon entering pgAdmin, everyone will be able to see our database.
Also, please update the .gitignore file added there mongo-data, postgres-data, and redis-data folders.
The problem is that now when you deploy containers, migrations do not happen. Replacing the command in docker-compose.yml:
command: python manage.py runserver 0.0.0.0:8000
withcommand: sh -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
ensures that migrations are performed before the server starts. Upon entering pgAdmin, everyone will be able to see our database.Also, please update the .gitignore file added there mongo-data, postgres-data, and redis-data folders.