Files
be.ems/src/config/config.prod.yaml
2025-01-07 11:19:14 +08:00

32 lines
603 B
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.
# 应用服务配置
server:
proxy: true
# security 安全
security:
csrf:
# 允许调用的域名地址的例如http://<Referer>/
refererWhiteList:
- "127.0.0.1"
- "<Referer>"
# GORM 数据源
gorm:
dataSource:
default:
type: "mysql"
host: "<mysql host>"
port: 3306
username: "<mysql username>"
password: "<mysql password>"
database: "<mysql database>"
# Redis 缓存数据
redis:
dataSource:
default:
port: 6379 # Redis port
host: "<redis host>"
password: "<redis password>"
db: 0 # Redis db_num