1
0
forked from erp-dev/erp
This commit is contained in:
2025-12-24 23:25:00 +08:00
parent 3129ded832
commit c895c3aa48
3 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ services:
ports: ports:
- "6432:6432" - "6432:6432"
volumes: volumes:
- ./pgbouncer/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini - ./pgbouncer/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini:ro
# 确保 postgres 完全启动后再启动 pgbouncer # 确保 postgres 完全启动后再启动 pgbouncer
depends_on: depends_on:
postgres: postgres:

View File

@@ -28,7 +28,7 @@ services:
container_name: pgbouncer container_name: pgbouncer
# 配置文件已包含所有配置,环境变量仅作为备用 # 配置文件已包含所有配置,环境变量仅作为备用
volumes: volumes:
- ./pgbouncer/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini - ./pgbouncer/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini:ro
# 确保 postgres 完全启动后再启动 pgbouncer # 确保 postgres 完全启动后再启动 pgbouncer
depends_on: depends_on:
postgres: postgres:

View File

@@ -34,7 +34,7 @@ services:
ports: ports:
- "6432:6432" - "6432:6432"
volumes: volumes:
- ./pgbouncer/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini - ./pgbouncer/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini:ro
# 确保 postgres 完全启动后再启动 pgbouncer # 确保 postgres 完全启动后再启动 pgbouncer
depends_on: depends_on:
postgres: postgres: