DataLens deployment

To deploy DataLens locally, just run multiple containers using Docker Compose:

  1. If you do not have Docker, install it by following the guide for your platform:

  2. Run the following commands:

    1. Clone the repository:

      git clone https://github.com/datalens-tech/datalens
              
    2. Go to the repository directory and run all the containers required to start DataLens:

      cd <path_to_datalens_directory> && \
              HC=1 docker compose up
              

      You can run the last command with a parameter for connecting an external database:

      METADATA_POSTGRES_DSN_LIST="postgres://{user}:{password}@{host}:{port}/{database}" HC=1 docker compose up
              

      Note

      Highcharts is a patented commercial product. If you enable Highcharts in your DataLens instance (with the HC=1 variable), make sure to comply with the license. When Highcharts is disabled, not all visualization types are available.

  3. Open the DataLens UI athttp://localhost:8080.

Once you run DataLens, you can:

The first release of the open-source version includes everything you need to try DataLens features in your infrastructure. The repository currently hosts the service core, a set of key connectors (PostgreSQL, ClickHouse®, and YTsaurus), and the main interface components.