alessiocamillohome opened a new issue, #24685: URL: https://github.com/apache/superset/issues/24685
HI, I installed Superset locally using[ Docker Compose instances.](https://superset.apache.org/docs/installation/installing-superset-using-docker-compose) (I get the 2.1 version using the command git checkout 2.1) I have no errors in the docker compose log the I run **docker-compose -f docker-compose-non-dev.yml up** ```shell [...] superset_app | [2023-07-13 09:40:32 +0000] [8] [INFO] Listening at: http://0.0.0.0:8088 (8) [...] ``` When I try to log-in using http://<local_ip>:8088/login the system returns the login page again (credentials are correct). Maybe I am forgetting some settings. Can you help me? Thanks a lot In .env-non-dev I set the: ```shell COMPOSE_PROJECT_NAME=superset # database configurations (do not modify) DATABASE_DB=superset DATABASE_HOST=db DATABASE_PASSWORD=superset DATABASE_USER=superset # database engine specific environment variables # change the below if you prefer another database engine DATABASE_PORT=5432 DATABASE_DIALECT=postgresql POSTGRES_DB=superset POSTGRES_USER=superset POSTGRES_PASSWORD=<my_password> #MYSQL_DATABASE=superset #MYSQL_USER=superset #MYSQL_PASSWORD=superset #MYSQL_RANDOM_ROOT_PASSWORD=yes # Add the mapped in /app/pythonpath_docker which allows devs to override stuff PYTHONPATH=/app/pythonpath:/app/docker/pythonpath_dev REDIS_HOST=redis REDIS_PORT=6379 SUPERSET_ENV=production SUPERSET_LOAD_EXAMPLES=yes SUPERSET_SECRET_KEY='<my_value>' CYPRESS_CONFIG=false SUPERSET_PORT=8088 MAPBOX_API_KEY='<my_value>' ``` and in the superset_config_docker.py I set ```shell #SQLALCHEMY_DATABASE_URI = "postgresql+psycopg2://pguser:[email protected]/superset" #SQLALCHEMY_ECHO = True # Flask-WTF flag for CSRF WTF_CSRF_ENABLED = False # Add endpoints that need to be exempt from CSRF protection #WTF_CSRF_EXEMPT_LIST = [] # A CSRF token that expires in 1 year #WTF_CSRF_TIME_LIMIT = 60 * 60 * 24 * 365 #SESSION_COOKIE_SAMESITE = None #SESSION_COOKIE_SECURE = False #SESSION_COOKIE_HTTPONLY = False WEBDRIVER_BASEURL = "http://<local_ip>:8088/" ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
