Files
x_admin/server/.env.example
xiangheng 8eb583397d init
2023-11-24 16:46:30 +08:00

16 lines
391 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
#GIN_MODE='release'
# 项目端口
SERVER_PORT=8001
# 域名(不建议有)
# PUBLIC_URL='http://127.0.0.1:8000'
# 数据库
DATABASE_URL='root:root@tcp(localhost:3306)/x_admin?charset=utf8mb4&parseTime=True&loc=Local'
#Redis
REDIS_URL='redis://:passwd@localhost:6379'
# 上传文件目录
UPLOAD_DIRECTORY='/www/wwwroot/x_admin_go/public/uploads/'