I want to dockerize our python/django application which uses postgresql in backend, and it also authenticate with our AD using LDAP.
How can I write docker-compose file for below three things
- Postgresql service should run
- python /manage.py migrate --settings=xxxxx.settings.local
- python /manage.py runserver --settings=xxxxxx.settings.local