You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
642 B
26 lines
642 B
# https://goframe.org/docs/web/server-config-file-template
|
|
server:
|
|
address: ":8080"
|
|
openapiPath: "/api.json"
|
|
swaggerPath: "/swagger"
|
|
|
|
# https://goframe.org/docs/core/glog-config
|
|
logger:
|
|
level : "all"
|
|
stdout: true
|
|
|
|
# https://goframe.org/docs/core/gdb-config-file
|
|
database:
|
|
default:
|
|
link: "mysql:live:p4jMAMShNM8HTrbX@tcp(39.101.133.168:3306)/live?charset=utf8mb4&parseTime=True&loc=Local"
|
|
debug: true
|
|
cms:
|
|
link: "mysql:cms:AF42R3ib6YkFaemm@tcp(39.101.133.168:3306)/cms?charset=utf8mb4&parseTime=True&loc=Local"
|
|
debug: true
|
|
|
|
# redis配置
|
|
redis:
|
|
default:
|
|
addr: "127.0.0.1:6379"
|
|
password: ""
|
|
db: 0
|