DataLens deployment
To deploy DataLens locally, just run multiple containers using Docker Compose:
-
If you do not have Docker, install it by following the guide for your platform:
-
Run the following commands:
-
Clone the repository:
git clone https://github.com/datalens-tech/datalens
-
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.
-
-
Open the DataLens UI at
http://localhost:8080
.
Once you run DataLens, you can:
- Review demo examples
- Attach data sources
- Build custom dashboards
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.