modify go files
This commit is contained in:
26
conf/config.prod.toml
Normal file
26
conf/config.prod.toml
Normal file
@ -0,0 +1,26 @@
|
||||
[base]
|
||||
jwt_secret = "mCTf-JhNRnhaaGJy_x"
|
||||
bind_addr = ":8090"
|
||||
|
||||
[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 = "localhost:3306"
|
||||
mysql_user = "devops"
|
||||
mysql_pass = "b5hs945wXjHr"
|
||||
redis_conn = "127.0.0.1:6379"
|
||||
Reference in New Issue
Block a user