-
Notifications
You must be signed in to change notification settings - Fork 630
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
39 lines (38 loc) · 1.12 KB
/
docker-compose.yaml
File metadata and controls
39 lines (38 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
sqlbot:
image: dataease/sqlbot
container_name: sqlbot
restart: always
privileged: true
networks:
- sqlbot-network
ports:
- 8000:8000
- 8001:8001
environment:
# Database configuration
POSTGRES_SERVER: localhost
POSTGRES_PORT: 5432
POSTGRES_DB: sqlbot
POSTGRES_USER: root
POSTGRES_PASSWORD: Password123@pg
# Project basic settings
PROJECT_NAME: "SQLBot"
DEFAULT_PWD: "SQLBot@123456"
# MCP settings
SERVER_IMAGE_HOST: http://YOUR_SERVE_IP:MCP_PORT/images/
# Auth & Security
SECRET_KEY: y5txe1mRmS_JpOrUzFzHEu-kIQn3lf7ll0AOv9DQh0s
# CORS settings
BACKEND_CORS_ORIGINS: "http://localhost,http://localhost:5173,https://localhost,https://localhost:5173"
# Logging
LOG_LEVEL: "INFO"
SQL_DEBUG: False
volumes:
- ./data/sqlbot/excel:/opt/sqlbot/data/excel
- ./data/sqlbot/file:/opt/sqlbot/data/file
- ./data/sqlbot/images:/opt/sqlbot/images
- ./data/sqlbot/logs:/opt/sqlbot/app/logs
- ./data/postgresql:/var/lib/postgresql/data
networks:
sqlbot-network: