Bind postgres on Tailscale interface (100.66.187.183:5432) for pgAdmin access
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user