Files
CasSsoService/docker/run-cas.sh
T
2026-08-31 17:29:16 +08:00

11 lines
601 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.
#!/bin/sh
# CAS 启动入口(接入 projman 部署平台版)
# 已移除 Nacos 配置注入:NacosEnvironmentPostProcessor + spring.factories 已删除(2026-08-26),
# 容器启动不再访问 Nacos。业务配置来源(优先级高→低):
# - projman 配置管理挂载的 /app/config/application.yml(容器 WORKDIR /app 下 ./config/,Spring Boot 默认搜索路径)
# - /etc/cas/config/cas.properties(镜像内置:仅 TLS/端口/日志,环境无关)
# - WAR classpath application.yml(TGC/webflow 密钥等兜底默认值)
set -e
exec java -jar /app/cas.war