mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
17 lines
391 B
YAML
17 lines
391 B
YAML
services:
|
|
sqlbot-db:
|
|
image: registry.cn-qingdao.aliyuncs.com/dataease/postgres:17.6
|
|
container_name: sqlbot-db
|
|
restart: always
|
|
networks:
|
|
- sqlbot-network
|
|
volumes:
|
|
- ./data/postgresql:/var/lib/postgresql/data
|
|
env_file:
|
|
- conf/sqlbot.conf
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready"]
|
|
interval: 3s
|
|
timeout: 5s
|
|
retries: 5
|