初始化v1
This commit is contained in:
32
hack/config.yaml
Normal file
32
hack/config.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
# 注意:此配置文件仅用于GoFrame CLI工具开发环境,生产环境不使用
|
||||
# CLI tool, only in development environment.
|
||||
# https://goframe.org/docs/cli
|
||||
gfcli:
|
||||
gen:
|
||||
dao:
|
||||
- link: "mysql:root:root@tcp(127.0.0.1:3306)/nl_video"
|
||||
descriptionTag: true
|
||||
removePrefix: "nl_"
|
||||
tables: "user,admin,movie,episode,category,tag,comment,collection,watch_history,vip_level,order,payment,banner,permission,role,admin_role,role_permission"
|
||||
|
||||
docker:
|
||||
build: "-a amd64 -s linux -p temp -ew"
|
||||
tagPrefixes:
|
||||
- nl-video-api
|
||||
|
||||
# 开发环境配置
|
||||
develop:
|
||||
database:
|
||||
host: "127.0.0.1"
|
||||
port: 3306
|
||||
user: "root"
|
||||
password: "root"
|
||||
name: "nl_video"
|
||||
|
||||
redis:
|
||||
host: "127.0.0.1"
|
||||
port: 6379
|
||||
password: ""
|
||||
|
||||
server:
|
||||
port: 8080
|
||||
Reference in New Issue
Block a user