mirror of
https://github.com/go-nunu/nunu-layout-advanced.git
synced 2026-04-22 23:47:05 +08:00
28 lines
550 B
YAML
28 lines
550 B
YAML
env: prod
|
|
http:
|
|
host: 0.0.0.0
|
|
port: 8000
|
|
security:
|
|
api_sign:
|
|
app_key: 123456
|
|
app_security: 123456
|
|
jwt:
|
|
key: QQYnRFerJTSEcrfB89fw8prOaObmrch8
|
|
data:
|
|
mysql:
|
|
user: root:123456@tcp(127.0.0.1:3380)/user?charset=utf8mb4&parseTime=True&loc=Local
|
|
redis:
|
|
addr: 127.0.0.1:6350
|
|
password: ""
|
|
db: 0
|
|
read_timeout: 0.2s
|
|
write_timeout: 0.2s
|
|
|
|
log:
|
|
log_level: info
|
|
encoding: json # json or console
|
|
log_file_name: "./storage/logs/server.log"
|
|
max_backups: 30
|
|
max_age: 7
|
|
max_size: 1024
|
|
compress: true |