forked from erp-dev/erp
giveup5
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user