This commit is contained in:
2025-05-07 21:04:00 +08:00
parent 17fca60282
commit 8e29d15e6d
15 changed files with 291 additions and 12 deletions

View File

@@ -0,0 +1,23 @@
version: "3.7"
services:
pgsql:
image: harbor.colben.cn/general/pgsql:15
container_name: pgsql
restart: "on-failure"
stop_grace_period: 32s
networks:
pgsql:
ports:
- 5432:5432
volumes:
- type: bind
source: ./pgsql/db
target: /var/lib/pgsql/
- type: bind
source: ./pgsql/conf.d
target: /etc/pgsql/conf.d
- type: bind
source: ./pgsql/log
target: /var/log/pgsql