Skip to content

Files

Latest commit

 

History

History
This branch is 12665 commits behind apache/superset:master.

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 22, 2019
Jul 18, 2019
Jul 16, 2019
Jul 16, 2019
Apr 10, 2019
Jun 14, 2019
Jul 18, 2019
Jan 15, 2019

Getting Start with Superset using Docker

Docker is an easy way to get stated with Superset.

Initializing Database

To initialize the database with a user and example charts, dashboards and datasets run:

docker-compose run -e SUPERSET_LOAD_EXAMPLES=yes --rm superset ./docker-init.sh

This may take a minute.

Normal Operation

To run the container, simply run:

docker-compose up

After several minutes for superset initialization to finish, you can open a browser and view http://localhost:8088 to start your journey.

Developing

While running, the container server will reload on modification of the superset python and javascript source code. Don't forget to reload the page to take the new frontend into account though.

Production

It is also possible to run Superset in non-development mode: in the docker-compose.yml file remove the volumes needed for development and change the variable SUPERSET_ENV to production.

Resource Constraints

If you are attempting to build on a Mac and it exits with 137 you need to increase your docker resources. OSX instructions: https://docs.docker.com/docker-for-mac/#advanced (Search for memory)