simpliest django(uvicorn)+postgresql+nginx docker-compose (ready for production and dev)

To run in production: docker-compose up -d

Site available on 8000 port.


Run in dev(with hot reload): docker-compose -f docker-compose.yaml -f up -d

You can make any changes in code, they will appear automatically. If you want to execute something with use: docker-compose exec app python3 makemigrations docker-compose exec app python3 createsuperuser and so on.


View Github