Files

43 lines
1.2 KiB
Bash
Raw Permalink 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.
# ======== 必填:唯一事实源来自 ljwx.yaml/init_project.sh ========
APP_NAME=bookstore
STACK=springboot # springboot | fastapi | vue3
PROFILE=docker # spring profile / fastapi env
PORT=8080
# ======== Docker 镜像(compose / k8s 用)========
IMAGE_REPO=harbor.omniverseai.net:8080/ljwx/ljwx-bookstore
IMAGE_TAG=latest
# ======== 域名(k8s ingress / argo 用)========
DOMAIN_HOST=book.omniverseai.net
TLS_SECRET=book-tls
# ======== 数据库/缓存(本地启动、compose 验证可能用到)========
# Spring Boot(与你们 application-docker.yml 对齐:MYSQL_* 组装 JDBC URL)
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_DATABASE=ljwx_bookstore
MYSQL_USER=root
MYSQL_PASSWORD=123456
# Redis(与你们推荐 URL 方式对齐:REDIS_*)
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=123456
REDIS_PREFIX=bookstore:
# ======== FastAPI(可选)========
PYTHON_VENV=.venv
FASTAPI_MODULE=main:app # uvicorn 入口,例如 main:app
FASTAPI_HOST=0.0.0.0
FASTAPI_PORT=8000
# ======== Vue3(可选)========
NODE_PACKAGE_MANAGER=pnpm # pnpm | npm | yarn
VITE_PORT=5173
# ======== 其他(可选)========
# JAVA_OPTS=-Xms256m -Xmx512m
# LOG_LEVEL=INFO