Files
x_admin/server/.env.yaml.example
2025-07-28 20:14:46 +08:00

21 lines
374 B
Plaintext
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.
# 具体配置项参考config\config.go的config结构体
# APP:
# GIN_MODE: 'debug'
# 项目端口
APP:
PORT: 8080
# 数据库
DB:
DSN: 'root:123456789@tcp(localhost:3306)/x_admin_2?charset=utf8mb4&parseTime=True&loc=Local'
#Redis
REDIS:
URL: 'redis://localhost:6379'
# 上传文件目录
FILE:
UPLOAD_DIRECTORY: '/www/wwwroot/x_admin_go/public/uploads/'