Update Docker Compose commands in README files
Replaced deprecated 'docker-compose' and 'podman-compose' commands with the recommended 'docker compose' and 'podman compose' syntax in all README files. Also made minor whitespace adjustments in diagram sections for consistency.
This commit is contained in:
1 parent
79da1e63d5
commit
7722739d45
3 files changed
+24
-30
No files matched your search
@@ -147,28 +147,28 @@ graph TD
|
||||
Request[User Request / User-Agent] --> Identify{Identify Platform}
|
||||
Identify -->|Invalid| Error[Return Error]
|
||||
Identify -->|Valid| Transform[Transform Path]
|
||||
|
||||
|
||||
Transform --> CheckProtocol{Check Protocol}
|
||||
|
||||
|
||||
CheckProtocol -->|Git| GitHandler[Git Protocol Adapter]
|
||||
CheckProtocol -->|Docker| DockerHandler[Docker Protocol Adapter]
|
||||
CheckProtocol -->|AI| AIHandler[AI Inference Adapter]
|
||||
CheckProtocol -->|Standard| StdHandler[Standard Adapter]
|
||||
|
||||
|
||||
GitHandler --> Upstream[Fetch Upstream]
|
||||
DockerHandler --> Upstream
|
||||
AIHandler --> Upstream
|
||||
|
||||
|
||||
StdHandler --> CacheCheck{Check Cache}
|
||||
CacheCheck -->|Hit| ReturnCache[Return Cached Response]
|
||||
CacheCheck -->|Miss| Upstream
|
||||
|
||||
|
||||
Upstream -->|Success| ProcessResponse[Process Response]
|
||||
Upstream -->|Failure| Retry{Retry?}
|
||||
|
||||
|
||||
Retry -->|Yes| Wait["Wait (Backoff)"] --> Upstream
|
||||
Retry -->|No| Error
|
||||
|
||||
|
||||
ProcessResponse --> Finalize[Add Headers & Return]
|
||||
Finalize --> Response[Response]
|
||||
```
|
||||
@@ -2609,14 +2609,12 @@ services:
|
||||
**Using Docker Compose:**
|
||||
|
||||
```bash
|
||||
docker-compose up -d
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
**Using Podman Compose:**
|
||||
|
||||
```bash
|
||||
podman-compose up -d
|
||||
# Or use podman compose (Podman 4.0+)
|
||||
podman compose up -d
|
||||
```
|
||||
|
||||
|
||||
+8
-10
@@ -147,28 +147,28 @@ graph TD
|
||||
Request[用户请求 / User-Agent] --> Identify{识别平台}
|
||||
Identify -->|无效| Error[返回错误]
|
||||
Identify -->|有效| Transform[转换路径]
|
||||
|
||||
|
||||
Transform --> CheckProtocol{检查协议}
|
||||
|
||||
|
||||
CheckProtocol -->|Git| GitHandler[Git 协议适配器]
|
||||
CheckProtocol -->|Docker| DockerHandler[Docker 协议适配器]
|
||||
CheckProtocol -->|AI| AIHandler[AI 推理适配器]
|
||||
CheckProtocol -->|标准| StdHandler[标准适配器]
|
||||
|
||||
|
||||
GitHandler --> Upstream[获取上游]
|
||||
DockerHandler --> Upstream
|
||||
AIHandler --> Upstream
|
||||
|
||||
|
||||
StdHandler --> CacheCheck{检查缓存}
|
||||
CacheCheck -->|命中| ReturnCache[返回缓存响应]
|
||||
CacheCheck -->|未命中| Upstream
|
||||
|
||||
|
||||
Upstream -->|成功| ProcessResponse[处理响应]
|
||||
Upstream -->|失败| Retry{重试?}
|
||||
|
||||
|
||||
Retry -->|是| Wait["等待 (退避)"] --> Upstream
|
||||
Retry -->|否| Error
|
||||
|
||||
|
||||
ProcessResponse --> Finalize[添加标头并返回]
|
||||
Finalize --> Response[响应]
|
||||
```
|
||||
@@ -2610,14 +2610,12 @@ services:
|
||||
**使用 Docker Compose:**
|
||||
|
||||
```bash
|
||||
docker-compose up -d
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
**使用 Podman Compose:**
|
||||
|
||||
```bash
|
||||
podman-compose up -d
|
||||
# 或者使用 podman compose (Podman 4.0+)
|
||||
podman compose up -d
|
||||
```
|
||||
|
||||
|
||||
+8
-10
@@ -147,28 +147,28 @@ graph TD
|
||||
Request[使用者請求 / User-Agent] --> Identify{識別平台}
|
||||
Identify -->|無效| Error[返回錯誤]
|
||||
Identify -->|有效| Transform[轉換路徑]
|
||||
|
||||
|
||||
Transform --> CheckProtocol{檢查協定}
|
||||
|
||||
|
||||
CheckProtocol -->|Git| GitHandler[Git 協定適配器]
|
||||
CheckProtocol -->|Docker| DockerHandler[Docker 協定適配器]
|
||||
CheckProtocol -->|AI| AIHandler[AI 推理適配器]
|
||||
CheckProtocol -->|標準| StdHandler[標準適配器]
|
||||
|
||||
|
||||
GitHandler --> Upstream[獲取上游]
|
||||
DockerHandler --> Upstream
|
||||
AIHandler --> Upstream
|
||||
|
||||
|
||||
StdHandler --> CacheCheck{檢查快取}
|
||||
CacheCheck -->|命中| ReturnCache[返回快取回應]
|
||||
CacheCheck -->|未命中| Upstream
|
||||
|
||||
|
||||
Upstream -->|成功| ProcessResponse[處理回應]
|
||||
Upstream -->|失敗| Retry{重試?}
|
||||
|
||||
|
||||
Retry -->|是| Wait["等待 (退避)"] --> Upstream
|
||||
Retry -->|否| Error
|
||||
|
||||
|
||||
ProcessResponse --> Finalize[添加標頭並返回]
|
||||
Finalize --> Response[回應]
|
||||
```
|
||||
@@ -2609,14 +2609,12 @@ services:
|
||||
**使用 Docker Compose:**
|
||||
|
||||
```bash
|
||||
docker-compose up -d
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
**使用 Podman Compose:**
|
||||
|
||||
```bash
|
||||
podman-compose up -d
|
||||
# 或者使用 podman compose (Podman 4.0+)
|
||||
podman compose up -d
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user