Files
sino-mci/.env.remote

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.remote .env
# 说明:只启动本机应用服务,连接远程 MySQL/Redis/RabbitMQ/SeaweedFS
# ============================================================
# 基础设施连接地址
MYSQL_HOST=192.168.1.173
REDIS_HOST=192.168.1.173
RABBITMQ_HOST=192.168.1.173
SEAWEEDFS_HOST=192.168.1.173
# 基础设施端口与账号
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://192.168.1.173:8080/msg-platform
VITE_API_BASE_URL=http://192.168.1.173: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