{"id":13550419,"url":"https://github.com/amancevice/docker-superset","last_synced_at":"2025-05-14T14:08:28.882Z","repository":{"id":13132635,"uuid":"73475899","full_name":"amancevice/docker-superset","owner":"amancevice","description":"Docker image for Airbnb's Superset","archived":false,"fork":false,"pushed_at":"2025-04-30T11:42:40.000Z","size":1425,"stargazers_count":972,"open_issues_count":45,"forks_count":415,"subscribers_count":39,"default_branch":"main","last_synced_at":"2025-04-30T13:02:42.822Z","etag":null,"topics":["docker","python","superset"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/amancevice/superset/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amancevice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-11-11T12:27:42.000Z","updated_at":"2025-04-30T11:42:45.000Z","dependencies_parsed_at":"2024-02-03T21:36:32.341Z","dependency_job_id":"6ea303a4-198a-45fc-bcdd-ab9c601ac21b","html_url":"https://github.com/amancevice/docker-superset","commit_stats":{"total_commits":302,"total_committers":48,"mean_commits":6.291666666666667,"dds":0.5960264900662251,"last_synced_commit":"03630eaa90e4130d45ac7a48bca93bf2043d0333"},"previous_names":[],"tags_count":98,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amancevice%2Fdocker-superset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amancevice%2Fdocker-superset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amancevice%2Fdocker-superset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amancevice%2Fdocker-superset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amancevice","download_url":"https://codeload.github.com/amancevice/docker-superset/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254159800,"owners_count":22024564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","python","superset"],"created_at":"2024-08-01T12:01:32.825Z","updated_at":"2025-05-14T14:08:28.860Z","avatar_url":"https://github.com/amancevice.png","language":"Dockerfile","readme":"# Superset\n\n![version](https://img.shields.io/docker/v/amancevice/superset?color=blue\u0026label=version\u0026logo=docker\u0026logoColor=eee\u0026sort=semver\u0026style=flat-square)\n[![latest](https://img.shields.io/github/actions/workflow/status/amancevice/docker-superset/latest.yml?branch=main\u0026label=latest\u0026logo=github\u0026style=flat-square)](https://github.com/amancevice/docker-superset/actions/workflows/latest.yml)\n\nDocker image for [Superset](https://github.com/ApacheInfra/superset).\n\nThis project is unofficial and not related to Superset or Apache.\n\n## Download\n\nDownload this image from the Docker registry:\n\n```bash\ndocker pull amancevice/superset:\u003cversion\u003e\n```\n\n## Building\n\nI **DO NOT** recommend building this image directly from the Dockerfile included in this repository.\n\nIf you wish to extend this image then the best course of action is to write your own Dockerfile that extends this image. Eg,\n\n```Dockerfile\nFROM amancevice/superset:\u003cversion\u003e\nUSER root\n# Your changes...\nUSER superset\n```\n\n## Issues\n\nPlease **ONLY** file issues in this project that are related to Docker and **DO** include the Docker commands or compose configuration of your setup when filing issues (be sure to hide any secrets/passwords before submitting).\n\nFile issues/bugs with Superset at the [source](https://github.com/apache/superset).\n\nPlease **DO NOT** files issues like \"Please include `\u003csome-python-pip\u003e` in the Dockerfile,\" open a [pull request](https://github.com/amancevice/superset/pulls) for updates/enhancements.\n\n## Examples\n\nNavigate to the [`examples`](./examples) directory to view examples of how to configure Superset with MySQL, PostgreSQL, or SQLite.\n\n## Versions\n\nThis repo is tagged in parallel with superset. Pulling `amancevice/superset:0.18.5` will fetch the image of this repository running superset version `0.18.5`. It is possible that the `latest` tag includes new features/support libraries but will usually be in sync with the latest semantic version.\n\n## Configuration\n\nFollow the [instructions](https://superset.incubator.apache.org/installation.html#configuration) provided by Apache Superset for writing your own `superset_config.py`. Place this file in a local directory and mount this directory to `/etc/superset` inside the container. This location is included in the image's `PYTHONPATH`. Mounting this file to a different location is possible, but it will need to be in the `PYTHONPATH`.\n\nView the contents of the [`examples`](./examples) directory to see some simple `superset_config.py` samples.\n\n## Volumes\n\nThe image defines two data volumes: one for mounting configuration into the container, and one for data (logs, SQLite DBs, \u0026c).\n\nThe configuration volume is located alternatively at `/etc/superset` or `/home/superset`; either is acceptable. Both of these directories are included in the `PYTHONPATH` of the image. Mount any configuration (specifically the `superset_config.py` file) here to have it read by the app on startup.\n\nThe data volume is located at `/var/lib/superset` and it is where you would mount your SQLite file (if you are using that as your backend), or a volume to collect any logs that are routed there. This location is used as the value of the `SUPERSET_HOME` environmental variable.\n\n## Database Initialization\n\nAfter starting the Superset server, initialize the database with an admin user and Superset tables using the `superset-init` helper script:\n\n```bash\ndocker run --detach --name superset [options] amancevice/superset\ndocker exec -it superset superset-init\n```\n\n## Upgrading\n\nUpgrading to a newer version of superset can be accomplished by re-pulling `amancevice/superset`at a specified superset version or `latest` (see above for more on this). Remove the old container and re-deploy, making sure to use the correct environmental configuration. Finally, ensure the superset database is migrated up to the head:\n\n```bash\n# Pull desired version\ndocker pull amancevice/superset\n\n# Remove the current container\ndocker rm -f superset-old\n\n# Deploy a new container ...\ndocker run --detach --name superset-new [options] amancevice/superset\n\n# Upgrade the DB\ndocker exec superset-new superset db upgrade\n\n# Sync the base permissions\ndocker exec superset-new superset init\n```\n","funding_links":[],"categories":["Dockerfile","docker"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famancevice%2Fdocker-superset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famancevice%2Fdocker-superset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famancevice%2Fdocker-superset/lists"}