增加配置

This commit is contained in:
lr
2023-01-18 16:49:37 +08:00
parent f25205c6a7
commit d8edbfe460

View File

@@ -1,6 +1,13 @@
#GIN_MODE='release'
#SERVER_PORT=8000
#PUBLIC_URL='http://127.0.0.1:8000'
# 项目端口
SERVER_PORT=8001
# 域名
PUBLIC_URL='http://127.0.0.1:8000'
# 数据库
DATABASE_URL='root:root@tcp(localhost:3306)/likeadmin?charset=utf8mb4&parseTime=True&loc=Local'
UPLOAD_DIRECTORY='/tmp/uploads/likeadmin-go'
#Redis
REDIS_URL='redis://:passwd@localhost:6379'
# 上传文件目录
UPLOAD_DIRECTORY='/www/wwwroot/likeadmin_go/public/uploads/'