From f05ebf42624da551a2e5eec0cb8ba59811c145f4 Mon Sep 17 00:00:00 2001 From: RockYang Date: Thu, 3 Sep 2026 21:38:28 +0800 Subject: [PATCH] add config.toml --- docker/conf/config.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 docker/conf/config.toml diff --git a/docker/conf/config.toml b/docker/conf/config.toml new file mode 100644 index 00000000..94936c06 --- /dev/null +++ b/docker/conf/config.toml @@ -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 +