a36c136f4a
* Add Auto option to point radius to make it work as expected since the example using this didn't work because of this (and also as the tooltip says the auto option should be available) * Remove trailing space * Fix docker configurations and docker installation guide. - Fix installation guide regarding passing enviromental variable to docker-compose. - Add gevent installation command in Dockerfile. (Didn't add it in requirements because it's not really a requirement for the whole project) - Add user: root:root to allow superset service to work in development mode. Since access to binded superset directory to local requires root user. - Also add localhost to postgres and redis services to reduce unintended security risk. * Fix docker configurations and docker installation guide. - Fix installation guide regarding passing enviromental variable to docker-compose. - Add gevent installation command in Dockerfile. (Didn't add it in requirements because it's not really a requirement for the whole project) - Add user: root:root to allow superset service to work in development mode. Since access to binded superset directory to local requires root user. - Also add localhost to postgres and redis services to reduce unintended security risk. |
||
---|---|---|
.. | ||
.env | ||
Dockerfile | ||
README.md | ||
docker-compose.yml | ||
docker-entrypoint.sh | ||
docker-init.sh | ||
superset_config.py |
README.md
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)