I’ve had to set these up so many times that having a starter .tar.gz
will help:
django-starter.tar.gz
Contents
Dockerfile
docker-compose.yml
requirements.txt
Commands
Shell in with service ports:
docker-compose run --rm --service-ports app /bin/bash
Addendum
Actually, a new page is added where starter bundles can be found: DOCKER STARTERS.