Files
aigrammar/conf/config.toml
2025-07-09 18:22:01 +08:00

30 lines
552 B
TOML

[base]
jwt_secret = "mCTf-JhNRnhaaGJy_x"
bind_addr = ":80"
[log]
echo_log_file = "../log/echo.log"
log_file = "../log/app.log"
max_size = 500
max_backups = 3
max_age = 28
compress = true
level = "debug"
[azure_openai]
endpoint = "https://grammar.openai.azure.com/"
keys = "8b68c235b737488ab9a99983a14f8cca,0274ccde58aa47b189f0d13349885ad3"
gpt4_model = "gpt4"
gpt35_model = "gpt35"
[database]
mysql_conn = "testdb:3306"
mysql_user = "root"
mysql_pass = "mysqlpw"
#redis_conn = "172.18.0.4:6379"
redis_conn = "redis:6379"
redis_pass = "cK4dC3mN7"