From 160f477318e05a37f67479c4afef039256c5fea8 Mon Sep 17 00:00:00 2001 From: David Kiania Date: Sat, 18 Apr 2026 14:14:32 +0300 Subject: [PATCH] infra: expose timescale_db port 5888 for direct pgcli access MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Maps host port 5888 → container port 5432 so the DB can be reached directly from the MacBook (requires UFW allow 5888/tcp on the server). Co-Authored-By: Claude Opus 4.7 --- docker-compose.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 8f0992b..3e88708 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -6,6 +6,8 @@ services: - POSTGRES_DB=${POSTGRES_DB} - POSTGRES_USER=${POSTGRES_USER} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} + ports: + - "5888:5432" volumes: - timescale-data:/var/lib/postgresql/data healthcheck: