Connect notebooks container to data and storage Docker networks #77

Closed
opened 2026-03-21 20:57:01 +00:00 by kert · 0 comments
Owner

Problem

The notebooks container is only on the gateway network. It cannot reach:

  • trino (network: data)
  • nessie (network: data)
  • polaris (network: data)
  • rustfs (network: storage)
  • postgres (network: data)

The nessie_tutorial and polaris_tutorial notebooks work by coincidence (Traefik proxies some) or by using external hostnames, which is fragile.

Fix

Add data and storage networks to the notebooks service in compose.yml:

notebooks:
  networks:
    - gateway
    - data
    - storage

This gives notebooks direct container-to-container access to all data services.

Files

  • compose.yml
## Problem The notebooks container is only on the `gateway` network. It cannot reach: - `trino` (network: `data`) - `nessie` (network: `data`) - `polaris` (network: `data`) - `rustfs` (network: `storage`) - `postgres` (network: `data`) The nessie_tutorial and polaris_tutorial notebooks work by coincidence (Traefik proxies some) or by using external hostnames, which is fragile. ## Fix Add `data` and `storage` networks to the notebooks service in compose.yml: ```yaml notebooks: networks: - gateway - data - storage ``` This gives notebooks direct container-to-container access to all data services. ## Files - `compose.yml`
kert added this to the P14: Notebook DX — connections, snippets, templates, S3 buckets milestone 2026-03-21 20:57:01 +00:00
kert added the config label 2026-03-21 20:57:01 +00:00
kert closed this issue 2026-03-22 00:26:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#77