Skip to content

Quickly download files needed to run Apache Superset in docker and preconfigure it for production

License

Notifications You must be signed in to change notification settings

nikelborm/apache-superset-quick-init

Repository files navigation

apache-superset-quick-init

Release Workflow

I'm currently in the process of rewriting it to typescript since it uses js script (nikelborm/fetch-github-folder) anyway

Dependencies

  1. curl (for loading scripts and compose files)
  2. openssl (for automatic password generation)
  3. node (You can install it easily using NVM)
  4. docker (for running superset)

How to use

curl https://raw.githubusercontent.com/nikelborm/apache-superset-quick-init/refs/heads/main/main.sh | bash

cd ./superset
# To generate passwords you can use `openssl rand -base64 48`.
# Passwords are auto-generated by default in ./main.sh, so you don't need to generate them manually.
# If you need to edit some unusual vars, uncomment those commands to edit them
# nano ./docker/.env
# nano ./docker/superset-websocket/config.json

# Choose the tag you want: 'latest' or something specific like '4.1.1'
# here are examples of tags:
# https://superset.apache.org/docs/installation/docker-builds/#key-tags-examples
# https://github.com/apache/superset/blob/master/CHANGELOG.md
# https://github.com/apache/superset/releases

export TAG='latest'
# If use choose `latest`, good idea to always pull
# docker compose up -d --pull always
docker compose up -d
# Follow logs until completely deployed
docker compose logs -f

TODO

  1. create a separate script for quick registering of a new database into a newly created Superset instance