mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-09-17 18:57:13 +00:00
add config.toml
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
Listen = "0.0.0.0:5678"
|
||||||
|
ProxyURL = ""
|
||||||
|
MysqlDns = "root:mhSCk0NheGhmtsha@tcp(geekai-mysql:3306)/geekai_plus?charset=utf8mb4&collation=utf8mb4_unicode_ci&parseTime=True&loc=Local"
|
||||||
|
StaticDir = "./static"
|
||||||
|
StaticUrl = "/static"
|
||||||
|
TikaHost = "http://geekai-tika:9998"
|
||||||
|
|
||||||
|
[Session]
|
||||||
|
SecretKey = "azyehq3ivunjhbntz78isj00i4hz2mt9xtddysfucxakadq4qbfrt0b7q3lnvg80"
|
||||||
|
MaxAge = 86400
|
||||||
|
|
||||||
|
[AdminSession]
|
||||||
|
SecretKey = "wr1uzwz2meai4z9j0e0tsyf6x523ui6zpnyaim4x2x37meakv13349llqpipyk40"
|
||||||
|
MaxAge = 8640000
|
||||||
|
|
||||||
|
[Redis]
|
||||||
|
Host = "geekai-redis"
|
||||||
|
Port = 6379
|
||||||
|
Password = "mhSCk0NheGhmtsha"
|
||||||
|
DB = 0
|
||||||
|
|
||||||
Reference in New Issue
Block a user