update docker port

This commit is contained in:
Kevin
2026-05-09 17:44:23 +08:00
parent 8e344b4246
commit cea8fa99ad
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
LIFE_ECHO_API_HOST_BIND=0.0.0.0 LIFE_ECHO_API_HOST_BIND=0.0.0.0
LIFE_ECHO_API_HOST_PORT=8000 LIFE_ECHO_API_HOST_PORT=8000
POSTGRES_HOST_PORT=15432
# ============================================================================= # =============================================================================
# Life Echo API — staging预发 # Life Echo API — staging预发

View File

@@ -4,7 +4,7 @@ services:
image: m.daocloud.io/docker.io/pgvector/pgvector:pg17 image: m.daocloud.io/docker.io/pgvector/pgvector:pg17
container_name: life-echo-postgres container_name: life-echo-postgres
ports: ports:
- "127.0.0.1:5432:5432" # 仅绑定 localhost通过 SSH 隧道访问 - "127.0.0.1:${POSTGRES_HOST_PORT:-5432}:5432" # 仅绑定 localhost通过 SSH 隧道访问
environment: environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres} POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}