# Before running, please copy .env.example to .env DOMAIN=localhost FRONTEND_HOST=http://localhost:5173 ENVIRONMENT=local PROJECT_NAME="SQLBot" STACK_NAME=SQLBot # Backend BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173" SECRET_KEY=y5txe1mRmS_JpOrUzFzHEu-kIQn3lf7ll0AOv9DQh0s FIRST_SUPERUSER=admin@example.com FIRST_SUPERUSER_PASSWORD=123456 # Change this to your pwd TOKEN_KEY="X-SQLBOT-TOKEN" DEFAULT_PWD="SQLBot@123456" ASSISTANT_TOKEN_KEY="X-SQLBOT-ASSISTANT-TOKEN" LOG_LEVEL="INFO" # DEBUG, INFO, WARNING, ERROR LOG_DIR="/opt/sqlbot/logs" LOG_FORMAT="%(asctime)s - %(name)s - %(levelname)s:%(lineno)d - %(message)s" SQL_DEBUG=False CACHE_TYPE="memory" CACHE_REDIS_URL="redis://127.0.0.1:6379" # Postgres POSTGRES_SERVER=localhost POSTGRES_PORT=5432 POSTGRES_DB=sqlbot POSTGRES_USER=root POSTGRES_PASSWORD=132456 # Change this to your pwd SENTRY_DSN= # Configure these with your own Docker registry images DOCKER_IMAGE_BACKEND=backend DOCKER_IMAGE_FRONTEND=frontend MCP_IMAGE_PATH=/opt/sqlbot/images MCP_IMAGE_HOST=http://localhost:3000 SERVER_IMAGE_HOST=https://sqlbot.fit2cloud.cn/images/