Files
nl-video-api/hack/config.yaml
2025-08-03 00:11:15 +08:00

32 lines
797 B
Go
Raw 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.
# 注意此配置文件仅用于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