Set up an air-gapped environment (no HTTP proxy available)
Normally, Datalore can't operate without downloading the JDBC drivers from some outside source. However, you can build your own SQL runtime image with pre-downloaded images.
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 datalore.values.yaml file 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:2023.6
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 Visualization 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.