Superset
What is Superset?
Superset is a modern data exploration and data visualization platform. Superset can replace or augment proprietary business intelligence tools for many teams. Superset integrates well with a variety of data sources.
Unofficial Docker Image
Superset does not support the use of Docker Compose in production. Coolify's Superset template uses a third-party, unofficial Docker image created by amancevice.
Usage
Initial Setup
After deploying the template, you will need to initialise the database and create your admin user. This can be done as follows:
-
Open a terminal session to the Superset Docker container.
-
Run one of the commands below, noting the
-symbol:# Basic initialisation superset-init # Alternatively, to also load demo data, use superset-demoThe source code for these scripts is available here.
-
Follow the prompts to complete the setup.
You can find the video instructions for this process in Coolify's GitHub repository's pull request #4891.
Connecting to Other Databases on the Coolify Network
To connect to databases hosted on Coolify but external to the Superset service template, enable Connect To Predefined Network. Use the database's internal hostname and port for the connection.
For network isolation, you can create a separate destination and deploy Superset and the databases it needs to that destination. You still need to enable Connect To Predefined Network for Superset: service stacks use their own network by default. Containers on the shared network use generated names, so verify the database hostname rather than assuming a generic name such as postgres.
Configuring Superset
Please refer to the official documentation for how you can tweak your superset_config.py.
This Python configuration file can be edited from the service's Persistent Storages page. Read File Mounts for the file editing and size limits.
