deployed on heroku using Dockerfile and heroku.yml
username: user
password: password
For dev purposes used docker-compose.yml
To run simply create .env.
.env example:
SECRET_KEY='SomeSecretKey'
DEBUG=True
SQL_ENGINE='django.db.backends.postgresql'
SQL_DATABASE='emphasoft_db'
SQL_USER='user'
SQL_PASSWORD='password'
SQL_HOST='db'
SQL_PORT=5432
Then run
docker-compose up
Validation fixed by adding update and create methods to serializer.