Docker
Git Version Control System
* Bash compatible shell for Windows
- Main DataLens repo with docker-compose.yml file
git clone [email protected]:datalens-tech/datalens.git
Copy .env.example
file to .env
and replace secrets
Secrets can be generated by script: scripts/gen-secrets.sh
* For custom DL_CRY_KEY
variable value you need to recreate manually PostgreSQL demo connection with new crypto key
Check authelia config with users list at:
-
authelia/configuration.yml
-
authelia/users.yml
! Be sure to change the password in the file authelia/users.yml
with argon2 crypto hash algorithm
You can generate password by command:
docker run authelia/authelia authelia crypto hash generate argon2 --password 'YOUR_PASSWORD'
docker compose pull
docker compose up -d
Copy root certificate to local folder to import in browser settings
docker compose cp traefik:/acme/certs/root_ca.crt ./root_ca.crt
- For linux:
sudo nano /etc/hosts
- For Windows:
Windows/System 32/drivers/etc
Additional domains:
127.0.0.1 datalens.dev
127.0.0.1 traefik.datalens.dev
127.0.0.1 authelia.datalens.dev
Open your custom DataLens by path: https://datalens.dev