Files
sino-mci/.env.local

51 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ============================================================
# Sino-MCI 本地开发环境(本机启动后端/前端时加载)
# 使用方式cp .env.local .env
# 说明:应用服务连接本机 localhost 上的基础设施
# ============================================================
# 基础设施连接地址
MYSQL_HOST=localhost
REDIS_HOST=localhost
RABBITMQ_HOST=localhost
SEAWEEDFS_HOST=localhost
# 基础设施端口与账号
MYSQL_PORT=3306
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=sino_mci
MYSQL_USER=root
REDIS_PORT=6379
RABBITMQ_DEFAULT_USER=guest
RABBITMQ_DEFAULT_PASS=guest
RABBITMQ_AMQP_PORT=5672
RABBITMQ_MGMT_PORT=15672
SEAWEEDFS_MASTER_PORT=9333
SEAWEEDFS_S3_PORT=8888
# 应用服务端口
MCI_SERVER_PORT=8080
ADMIN_WEB_PORT=80
CHANNEL_SERVICE_PORT=8000
# 应用服务地址
MCI_SERVER_URL=http://localhost:8080/msg-platform
VITE_API_BASE_URL=http://localhost:8080
# Spring Boot / JVM
SPRING_PROFILES_ACTIVE=dev
JAVA_OPTS="-XX:+UseContainerSupport -XX:MaxRAMPercentage=75.0"
# Channel Service
MAX_RETRY=5
BASE_RETRY_DELAY_SECONDS=5
EVENT_RETENTION_DAYS=10
EVENT_PUBLISH_INTERVAL_SECONDS=5
# OpenAI可选
OPENAI_API_KEY=
OPENAI_BASE_URL=https://api.openai.com