Add File
This commit is contained in:
37
docker-compose.yaml
Normal file
37
docker-compose.yaml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
services:
|
||||||
|
sqlbot:
|
||||||
|
image: dataease/sqlbot:v1.1.0
|
||||||
|
container_name: sqlbot
|
||||||
|
restart: always
|
||||||
|
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: https://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/images:/opt/sqlbot/images
|
||||||
|
- ./data/sqlbot/logs:/opt/sqlbot/logs
|
||||||
|
- ./data/postgresql:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
networks:
|
||||||
|
sqlbot-network:
|
||||||
Reference in New Issue
Block a user