CPA 相关求助: docker 参考佬安装之后,提示 服务器地址无效或管理接口未启用

2026-04-13 12:220阅读0评论SEO资源
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

rt 场景是在个人 nas + cloudfare tunnels 部署
image562×122 7.29 KB

我的 docker-compose:

services: cli-proxy-api: image: eceasy/cli-proxy-api:latest pull_policy: always container_name: cli-proxy-api networks: - cpa_net ports: - "8317:8317" volumes: - ./config.yaml:/CLIProxyAPI/config.yaml - ./auths:/root/.cli-proxy-api - ./logs:/CLIProxyAPI/logs restart: unless-stopped networks: cpa_net: name: cpa_net driver: bridge

config.yaml 已加密

# CPA 配置 — Cloudflare Tunnel 方案 # 监听所有网络接口,允许局域网和桥接网络访问 host: "0.0.0.0" port: 8317 auth-dir: "~/.cli-proxy-api" request-retry: 3 quota-exceeded: switch-project: true switch-preview-model: true # 按预定规则生成高强度随机key api-keys: - "sk-***" remote-management: allow-remote: true # 按预定规则生成高强度随机key secret-key: "mgt-cpa-***" disable-control-panel: false logging-to-file: true usage-

阅读全文
标签:快问快答
问题描述:

rt 场景是在个人 nas + cloudfare tunnels 部署
image562×122 7.29 KB

我的 docker-compose:

services: cli-proxy-api: image: eceasy/cli-proxy-api:latest pull_policy: always container_name: cli-proxy-api networks: - cpa_net ports: - "8317:8317" volumes: - ./config.yaml:/CLIProxyAPI/config.yaml - ./auths:/root/.cli-proxy-api - ./logs:/CLIProxyAPI/logs restart: unless-stopped networks: cpa_net: name: cpa_net driver: bridge

config.yaml 已加密

# CPA 配置 — Cloudflare Tunnel 方案 # 监听所有网络接口,允许局域网和桥接网络访问 host: "0.0.0.0" port: 8317 auth-dir: "~/.cli-proxy-api" request-retry: 3 quota-exceeded: switch-project: true switch-preview-model: true # 按预定规则生成高强度随机key api-keys: - "sk-***" remote-management: allow-remote: true # 按预定规则生成高强度随机key secret-key: "mgt-cpa-***" disable-control-panel: false logging-to-file: true usage-

阅读全文
标签:快问快答