Docker is an easy way to get started with Superset.
The /app/pythonpath
folder is mounted from ./docker/pythonpath_dev
which contains a base configuration ./docker/pythonpath_dev/superset_config.py
intended for use with local development.
In order to override configuration settings locally, simply make a copy of ./docker/pythonpath_dev/superset_config_local.example
into ./docker/pythonpath_dev/superset_config_docker.py
(git ignored) and fill in your overrides.
If you want to add Python packages in order to test things like databases locally, you can simply add a local requirements.txt (./docker/requirements-local.txt
)
and rebuild your Docker stack.
Steps:
- Create
./docker/requirements-local.txt
- Add your new packages
- Rebuild docker-compose
docker-compose down -v
docker-compose up
The database will initialize itself upon startup via the init container (superset-init
). This may take a minute.
To run the container, simply run: docker-compose up
After waiting several minutes for Superset initialization to finish, you can open a browser and view http://localhost:8088
to start your journey.