Django
Add a service from your Django repo. Nixpacks detects python from manage.py. A Dockerfile in the service root always wins.
Set ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS to your *.stackblaze.app domain. Run migrations as a release command or one-off.
Deploy from GitHub
Section titled “Deploy from GitHub”- Dashboard → New project (or open an existing canvas).
- + Service → Git repository. Pick the repo and branch.
- Review staged changes and Deploy.
- Generate a
*.stackblaze.appdomain, or attach a custom domain.
Override install / build / start on the service if detection is wrong. Typical start: gunicorn myproject.wsgi --bind 0.0.0.0:$PORT.
Docker
Section titled “Docker”If you already have a Dockerfile, StackBlaze uses it. The process must listen on PORT.
+ Service → Databases for Postgres, Redis/Valkey, MySQL, and others. Wire DATABASE_URL from the service Variables tab or fromDatabase in stackblaze.yaml.
stackblaze loginstackblaze initstackblaze upSee the CLI.