mirror of
https://github.com/likeshop-github/likeadmin_go.git
synced 2025-12-24 13:07:57 +08:00
增加配置
This commit is contained in:
@@ -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/'
|
||||
|
||||
Reference in New Issue
Block a user