smart-admin/smart-admin-api-java8-springboot2/sa-admin/src/main/resources/dev/application.yaml

22 lines
1.0 KiB
YAML
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.

#############################################################################################################
# #
# 为了减少重复配置本配置文件为此sa-admin的独有配置更多配置请查看 sa-base 项目中的 sa-base.yaml 通用配置文件。 #
# 其中此文件中配置可以覆盖 sa-base.yaml 中的通用配置具体实现类请看类YamlProcessor.java #
# #
#############################################################################################################
# 项目配置: 名称、日志目录
project:
name: sa-admin
log-directory: ${localPath:/home}/logs/smart_admin_v3/${project.name}/${spring.profiles.active}
# 项目端口和url根路径
server:
port: 1024
servlet:
context-path: /
# 环境
spring:
profiles:
active: '@profiles.active@'