Bind postgres on Tailscale interface (100.66.187.183:5432) for pgAdmin access

This commit is contained in:
2026-05-03 17:29:30 +00:00
parent 522e3e476b
commit b5dc50b0b2
+5
View File
@@ -88,6 +88,11 @@ services:
image: timescale/timescaledb-ha:pg16.6-ts2.17.2-all image: timescale/timescaledb-ha:pg16.6-ts2.17.2-all
expose: expose:
- '5432' - '5432'
# Bind Postgres to the Tailscale interface only — reachable from pgAdmin
# via the zero-trust mesh, never from the public internet. The internal
# `postgres:5432` hostname for stack peers (directus, processor) is unaffected.
ports:
- '100.66.187.183:5432:5432'
volumes: volumes:
- postgres-data:/home/postgres/pgdata/data - postgres-data:/home/postgres/pgdata/data
environment: environment: