Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable load examples in Apache Superset

I have installed Apache Superset locally using Docker Compose. All of the pre-loaded examples were helpful at first, but I am wondering if there is a configuration setting to skip loading these examples. I know that I could delete each example chart and dashboard individually, but I'm hoping there is a configuration setting somewhere that would disable loading examples. I've reviewed the documentation, but haven't seen such a setting.

https://superset.apache.org/docs/installation/configuring-superset

like image 409
CurtLH Avatar asked Oct 16 '25 06:10

CurtLH


2 Answers

You can disable the loading example by removing SUPERSET_LOAD_EXAMPLES=yes in the env file located at docker/.env. The environment is loaded from the docker/.env file for docker-compose.

 superset:
    env_file: docker/.env
    image: *superset-image
    container_name: superset_app
    command: ["/app/docker/docker-bootstrap.sh", "app"]
    restart: unless-stopped
    ports:
      - 8088:8088
like image 123
jagamts1 Avatar answered Oct 19 '25 14:10

jagamts1


The recommended approach is to create a new file docker/.env-local with:

SUPERSET_LOAD_EXAMPLES=no

docker/.env-local will supersede any settings in docker/.env This might be desired in case you want to upgrade Superset from Git.

like image 20
h q Avatar answered Oct 19 '25 14:10

h q