Files
yunrui_asset/.env.example
T
zhang1106 5e3998736d chore: 重构镜像仓库配置,支持多镜像源拉取
1. 更新env示例文件,默认使用ghcr.io镜像源,添加阿里云ACR切换说明
2. 完善生产环境docker-compose配置,增加镜像源注释和默认值
3. 重构CI工作流,支持同时推送镜像到阿里云ACR和ghcr.io
4. 更新部署文档,补充镜像仓库说明和多源切换指引
2026-06-16 12:36:39 +08:00

21 lines
693 B
Bash
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.
# ============================================
# 生产环境 docker-compose 环境变量示例
# 复制此文件为 .env,填入实际值
# ============================================
# 后端镜像地址(从 ghcr.io 拉取公开镜像)
BACKEND_IMAGE=ghcr.io/gituib/idc-backend:latest
# 前端镜像地址(从 ghcr.io 拉取公开镜像)
FRONTEND_IMAGE=ghcr.io/gituib/idc-frontend:latest
# 指定特定版本(可选,默认 latest)
# BACKEND_VERSION=v1.0.0
# FRONTEND_VERSION=v1.0.0
# ---- MySQL 容器配置(如启用本地 MySQL ----
# MYSQL_ROOT_PASSWORD=your_root_password
# MYSQL_DATABASE=idc_management
# MYSQL_USER=idc_user
# MYSQL_PASSWORD=your_mysql_password