19 lines
488 B
Bash
19 lines
488 B
Bash
# 生产环境配置示例
|
|
# 复制此文件为 .env 并修改相应配置
|
|
|
|
# MySQL配置
|
|
MYSQL_ROOT_PASSWORD=your-strong-root-password
|
|
MYSQL_PASSWORD=your-strong-user-password
|
|
MYSQL_PORT=3306
|
|
|
|
# 应用端口配置
|
|
BACKEND_PORT=18888
|
|
FRONTEND_PORT=80
|
|
|
|
# Redis配置 (可选)
|
|
REDIS_PASSWORD=your-redis-password
|
|
REDIS_PORT=6379
|
|
|
|
# 镜像配置 (用于生产环境)
|
|
BACKEND_IMAGE=ghcr.io/your-org/license-manager-backend:latest
|
|
FRONTEND_IMAGE=ghcr.io/your-org/license-manager-frontend:latest |