Set up an air-gapped environment (no HTTP proxy available)
By default, Datalore does not include bundled JDBC drivers in order to have a smaller size of the SQL runtime image and to keep driver versions up-to-date. However, you can pre-load those drivers and set up your own SQL runtime image to use Datalore in an air-gapped environment.
Set up a fully air-gapped environment (no HTTP proxy available)
For JDBC drivers, apply one of the options available here.
Use the following syntax formats: {artifact name} or {artifact name}:{version}.
Specify the custom image in the config file of your installation (datalore.values.yaml or docker-compose.yaml) as shown in the example below.
The DATABASES_COMMAND_IMAGE environment variable is overridden after the above-mentioned image is built.
Examples
Dockerfile
FROM jetbrains/datalore-database-command:2024.4
RUN ["/opt/datalore/download_artifacts.sh", "'MySQL Connector/J 8'"]
RUN ["/opt/datalore/download_artifacts.sh", "'Redshift:2.0.0.7'"]
RUN ["/opt/datalore/download_artifacts.sh", "'PostgreSQL:42.3.3'"]
If the clients’ browser is also running in a fully air-gapped environment, the Visualize tab in a rendered DataFrame will not work due to this functionality reliance on the public CDN availability, which is not possible in an air-gapped environment.