71 lines
1.9 KiB
Plaintext
71 lines
1.9 KiB
Plaintext
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
# Doris MCP Server Environment Configuration
|
|
# Copy this file to .env and modify the values as needed
|
|
|
|
# Database Configuration
|
|
DORIS_HOST=localhost
|
|
DORIS_PORT=9030
|
|
DORIS_USER=root
|
|
DORIS_PASSWORD=your_password_here
|
|
DORIS_DATABASE=your_database_name
|
|
|
|
# Connection Pool Settings
|
|
DORIS_MIN_CONNECTIONS=5
|
|
DORIS_MAX_CONNECTIONS=20
|
|
DORIS_CONNECTION_TIMEOUT=30
|
|
DORIS_HEALTH_CHECK_INTERVAL=60
|
|
DORIS_MAX_CONNECTION_AGE=3600
|
|
|
|
# Security Settings
|
|
AUTH_TYPE=token
|
|
TOKEN_SECRET=your_256_bit_secret_key_here
|
|
TOKEN_EXPIRY=3600
|
|
MAX_RESULT_ROWS=10000
|
|
ENABLE_MASKING=true
|
|
|
|
# Performance Settings
|
|
ENABLE_QUERY_CACHE=true
|
|
CACHE_TTL=300
|
|
MAX_CACHE_SIZE=1000
|
|
MAX_CONCURRENT_QUERIES=50
|
|
QUERY_TIMEOUT=300
|
|
|
|
# Logging Configuration
|
|
LOG_LEVEL=INFO
|
|
LOG_FILE_PATH=./log/doris-mcp-server.log
|
|
ENABLE_AUDIT=true
|
|
AUDIT_FILE_PATH=./log/doris-mcp-audit.log
|
|
|
|
# Monitoring Settings
|
|
ENABLE_METRICS=true
|
|
METRICS_PORT=3001
|
|
METRICS_PATH=/metrics
|
|
HEALTH_CHECK_PORT=3002
|
|
HEALTH_CHECK_PATH=/health
|
|
ENABLE_ALERTS=false
|
|
ALERT_WEBHOOK_URL=
|
|
|
|
# Server Settings
|
|
SERVER_NAME=doris-mcp-server
|
|
SERVER_VERSION=0.3.0
|
|
SERVER_PORT=3000
|
|
|
|
# Development Settings (for development environment only)
|
|
DEBUG=false
|
|
VERBOSE=false |