mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-05 01:02:59 +08:00
0e46ccc72d
* chore: Rename container names for consistency in Docker configs * chore: Rename service names for consistency in Docker configs
24 lines
740 B
Plaintext
24 lines
740 B
Plaintext
fastgpt-seekdb:
|
|
image: ${{seekdb.image}}:${{seekdb.tag}}
|
|
container_name: fastgpt-seekdb
|
|
restart: always
|
|
# ports: # 生产环境建议不要暴露
|
|
# - 2881:2881
|
|
# - 2886:2886
|
|
networks:
|
|
- fastgpt
|
|
environment:
|
|
# SeekDB 连接配置(兼容 MySQL 协议)
|
|
- ROOT_PASSWORD=seekdbpassword
|
|
# MODE分为MINI和NORMAL, 后者会最大程度使用主机资源
|
|
- MODE=MINI
|
|
volumes:
|
|
- fastgpt-seekdb-data:/var/lib/mysql
|
|
- fastgpt-seekdb-config:/etc/mysql/conf.d
|
|
healthcheck:
|
|
test: ['CMD', 'mysqladmin', 'ping', '-h', '127.0.0.1', '-P2881', '-uroot', '-pseekdbpassword']
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 1000
|
|
start_period: 10s
|