Missing editable .env for superset
-
Based on the documentation, the "embedded mode" require to add an environment variable:
https://superset.apache.org/docs/configuration/networking-settings/#enabling-embedding-via-the-sdk
SUPERSET_FEATURE_EMBEDDED_SUPERSET=trueI found other sources online speaking of a config.py parameter, but this approach seems outdated and is not mentioned in the docs:
https://medium.com/@nandwalritik/embed-superset-dashboard-react-843b0a60a31f
FEATURE_FLAGS = { # Paste this along with other feature flag options "EMBEDDED_SUPERSET": True, }Unfortunately, env.sh is located in
/app/pkgand is read-onlyhttps://git.cloudron.io/packages/superset-app/-/blob/main/start.sh?ref_type=heads#L17
Could you change the packaging in order to be able to configure the environment variables ?
Could be related to this post
https://forum.cloudron.io/topic/12830/superset-public-access/5 -
Hi @nebulon
No it does not.This allows to make public URLs
AUTH_ROLE_PUBLIC = 'Public' PUBLIC_ROLE_LIKE = 'Gamma' FEATURE_FLAGS = { 'DASHBOARD_RBAC': True }But it does not permits to use the embed sdk
https://www.npmjs.com/package/@superset-ui/embedded-sdkThe embed SDK references a
EMBEDDED_SUPERSETfeature flag but the Superset documentation references aSUPERSET_FEATURE_EMBEDDED_SUPERSET=trueenvironment variableI guess Superset docs is more accurate because I did try the feature flag and it does not activate the embed feature.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
