Browse Source

Remove config file from repository

Pchen. 4 months ago
parent
commit
0cd8426240
2 changed files with 0 additions and 27 deletions
  1. 0 2
      base_config.py
  2. 0 25
      db_config.py

+ 0 - 2
base_config.py

@@ -1,2 +0,0 @@
-path = "/www/gitnexus/"
-avatar_url = "https://cravatar.cn/avatar/"

+ 0 - 25
db_config.py

@@ -1,25 +0,0 @@
-TORTOISE_ORM = {
-    "connections": {
-        "default": {
-            "engine": "tortoise.backends.mysql",
-            "credentials": {
-                "host": "8.137.37.202",
-                "port": 3306,
-                "user": "gitnexus",
-                "password": "Yx3ud937",
-                "database": "gitnexus",
-                "minsize": 3,    # 最小连接数
-                "maxsize": 20,   # 最大连接数
-                "charset": "utf8mb4"
-            }
-        }
-    },
-    "apps": {
-        "models": {
-            "models": ["models.gitModels"],  # 包含模型文件
-            "default_connection": "default"
-        }
-    },
-    "use_tz": False,
-    "timezone": "Asia/Shanghai"
-}