Update entrypoint-wrapper.sh
Browse files- entrypoint-wrapper.sh +4 -4
entrypoint-wrapper.sh
CHANGED
|
@@ -25,10 +25,10 @@ else
|
|
| 25 |
fi
|
| 26 |
fi
|
| 27 |
|
| 28 |
-
#
|
| 29 |
-
export SQL_DSN="avnadmin:AVNS_Kjgd0Bc4gfcBqzKSStj@tcp(new-api-bangban-3033.e.aivencloud.com:19593)/new-api?tls=
|
| 30 |
|
| 31 |
-
echo "Entrypoint wrapper: Starting application with
|
| 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"
|