Setting up superset using docker
See original GitHub issueThis post is for everyone who wants to set up superset using docker since they are some problems which are differently listed as issues here but may be hard to find.
First add gevent to python requirements. Second add user: root:root to your superset service in docker-compose.
And then you can follow the instructions on doc. However if you want to load the examples you should instead of running:
SUPERSET_LOAD_EXAMPLES=yes docker-compose run --rm superset ./docker-init.sh
run this:
docker-compose run --rm -e SUPERSET_LOAD_EXAMPLES=yes superset ./docker-init.sh
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Adding New Drivers in Docker - Apache Superset
Superset requires a Python database driver to be installed for each additional type of database you want to connect to. When setting up...
Read more >Running Apache Superset as a Docker Container
Multiple ways to start the container, i.e., either by using the command docker-compose or by using the docker run command. · Superset all...
Read more >Installation & Configuration - apache-superset - Read the Docs
Once you have Docker for Mac installed, open up the preferences pane for Docker, go to the “Resources” section and increase the allocated...
Read more >apache/superset - Docker Image
Initialize a local Superset Instance · Setup your local admin account $ docker exec -it superset superset fab create-admin \ --username admin \...
Read more >Superset on docker - Bytefold
Superset image form dockerhub does not provide any easily accessible way to configure Admin user for the app. It relies on superset fab ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There are a couple of other docker issues that need to be addressed related to the Flask AppBuilder CLI update. But, there’s not much to do to create a PR that makes the docker instructions actually functional:
docker-compose.yml
FLASK_APP
env variable todocker-init.sh
and removing the--app
argument from theflask fab
command.CONTRIBUTING.md
also have the--app
argument as well.More than happy to put up a PR to fix those issues.
In
docker-compose.yml
in superset service with the same indention asvolumes:
adduser: root:root