Vucko95 commented on issue #30187:
URL: https://github.com/apache/superset/issues/30187#issuecomment-2336815008

   @dosu 
   I'm using a default setup, which is 
   superset-init.sh
   
   `#!/bin/bash
   
   # create Admin user, you can read these values from env or anywhere else 
possible
   superset fab create-admin --username "$ADMIN_USERNAME" --firstname Superset 
--lastname Admin --email "$ADMIN_EMAIL" --password "$ADMIN_PASSWORD"
   
   # Upgrading Superset metastore
   superset db upgrade
   
   # setup roles and permissions
   superset superset init 
   
   # Starting server
   /bin/sh -c /usr/bin/run-server.sh`
   
   and dockerfile
   
   `FROM apache/superset:latest
   USER root
   RUN apt-get -y update
   RUN pip install pip 
   RUN pip install sqlalchemy-redshift
   RUN pip install psycopg2
   ENV ADMIN_USERNAME $ADMIN_USERNAME
   ENV ADMIN_EMAIL $ADMIN_EMAIL
   ENV ADMIN_PASSWORD $ADMIN_PASSWORD
   COPY ./superset-init.sh /superset-init.sh
   
   COPY superset_config.py /app/
   ENV SUPERSET_CONFIG_PATH /app/superset_config.py
   
   USER superset
   ENTRYPOINT [ "/superset-init.sh" ]`
   
   
   but still my connection is not automatic 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to