Skip to content

Instantly share code, notes, and snippets.

@garystafford
Last active December 18, 2022 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garystafford/0104c352a8b827e31b6b2f2fa3d27559 to your computer and use it in GitHub Desktop.
Save garystafford/0104c352a8b827e31b6b2f2fa3d27559 to your computer and use it in GitHub Desktop.
# establish an interactive session with the superset container
SUPERSET_CONTAINER=$(docker container ls --filter name=streaming-stack_superset.1 --format "{{.ID}}")
# initialize superset (see superset documentation)
docker exec -it ${SUPERSET_CONTAINER} \
superset fab create-admin \
--username admin \
--firstname Superset \
--lastname Admin \
--email admin@superset.com \
--password sUp3rS3cREtPa55w0rD1
docker exec -it ${SUPERSET_CONTAINER} superset db upgrade
docker exec -it ${SUPERSET_CONTAINER} superset init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment