update docker port
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
LIFE_ECHO_API_HOST_BIND=0.0.0.0
|
||||
LIFE_ECHO_API_HOST_PORT=8000
|
||||
POSTGRES_HOST_PORT=15432
|
||||
|
||||
# =============================================================================
|
||||
# Life Echo API — staging(预发)
|
||||
|
||||
@@ -4,7 +4,7 @@ services:
|
||||
image: m.daocloud.io/docker.io/pgvector/pgvector:pg17
|
||||
container_name: life-echo-postgres
|
||||
ports:
|
||||
- "127.0.0.1:5432:5432" # 仅绑定 localhost,通过 SSH 隧道访问
|
||||
- "127.0.0.1:${POSTGRES_HOST_PORT:-5432}:5432" # 仅绑定 localhost,通过 SSH 隧道访问
|
||||
environment:
|
||||
POSTGRES_USER: ${POSTGRES_USER:-postgres}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
|
||||
|
||||
Reference in New Issue
Block a user