# Self-host Apache Superset

> A business intelligence platform for exploring data and building dashboards, with its metadata kept in SQLite.

- Page: https://levelrail.com/templates/superset/
- JSON: https://levelrail.com/templates/superset.json
- Category: Analytics
- Licence: Apache-2.0 (Permissive license)
- Source: https://github.com/apache/superset
- Upstream docs: https://superset.apache.org/docs/intro

## Requirements
- Memory: about 2 GiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 4.1.1

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| superset | apache/superset | 4.1.1 | 8088 | home -> /app/superset_home |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| superset | ADMIN_PASSWORD | generated |
| superset | ADMIN_USERNAME | preset |
| superset | SUPERSET_SECRET_KEY | generated |

## Deploy

### CLI

```bash
levelrail-cli templates install superset --name my-superset
```

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain superset=app.example.com.

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  https://levelrail.example.com/api/v1/service-templates/superset/install \
  -d '{
    "name": "my-superset"
  }'
```

Create a token in the dashboard first. Name, env and domains are the request fields.

## Questions

### Can I deploy Apache Superset on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id superset for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image apache/superset:4.1.1 is what you deploy there.

Self-host Apache Superset, Apache Superset docker compose file, deploy Apache Superset on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
