nomid2 commited on
Commit
4330f2f
·
verified ·
1 Parent(s): a77b8fc

Update entrypoint-wrapper.sh

Browse files
Files changed (1) hide show
  1. entrypoint-wrapper.sh +4 -4
entrypoint-wrapper.sh CHANGED
@@ -25,10 +25,10 @@ else
25
  fi
26
  fi
27
 
28
- # 设置修复后的MySQL连接字符串
29
- export SQL_DSN="avnadmin:AVNS_Kjgd0Bc4gfcBqzKSStj@tcp(new-api-bangban-3033.e.aivencloud.com:19593)/new-api?tls=true"
30
 
31
- echo "Entrypoint wrapper: Starting application with fixed MySQL connection string"
32
- echo "Using database: MySQL with TLS"
33
 
34
  exec /one-api -log-dir "$APP_DATA_DIR/logs"
 
25
  fi
26
  fi
27
 
28
+ # 设置跳过证书验证的MySQL连接字符串
29
+ export SQL_DSN="avnadmin:AVNS_Kjgd0Bc4gfcBqzKSStj@tcp(new-api-bangban-3033.e.aivencloud.com:19593)/new-api?tls=skip-verify"
30
 
31
+ echo "Entrypoint wrapper: Starting application with MySQL connection (TLS skip-verify)"
32
+ echo "Using database: MySQL with TLS certificate verification disabled"
33
 
34
  exec /one-api -log-dir "$APP_DATA_DIR/logs"