Skip to content

Supported Frameworks

Disco works with anything that can be containerized. We maintain a collection of “Hello World” starter repositories that include a valid Dockerfile and disco.json to get you started quickly.


Some frameworks require a bit more configuration, especially regarding databases or environment variables.

For pure static sites (HTML/CSS/JS), you don’t need a Dockerfile. You just need to tell Disco where your public files are, as in this example repo.

disco.json
{
"version": "1.0",
"services": {
"web": {
"type": "static",
"publicPath": "public"
}
}
}

If you are deploying Django with PostgreSQL, you will need to configure the database connection and run migrations.

  1. Fork the Repo: letsdiscodev/example-django-postgres-site
  2. Add the Database: Use the Disco CLI or Dashboard to attach a Postgres database.
    Terminal window
    disco postgres:create --project my-django-app
  3. Environment Variables: Ensure DATABASE_URL and DJANGO_SECRET_KEY are set in your project settings.
  4. Migrations: You can run migrations via the “Run Command” feature in the dashboard:
    Terminal window
    python manage.py migrate

Deploying Meilisearch requires setting a master key for security.

  1. Fork the Repo: letsdiscodev/sample-meilisearch
  2. Set the Master Key: In the “Environment Variables” section of your project, add:
    • MEILI_MASTER_KEY: A strong random string (e.g. generated via openssl rand -base64 12).
  3. Deploy: Once the variable is set, trigger a deployment. Meilisearch will initialize with your key.