{"id":13546727,"url":"https://github.com/fscarmen2/Argo-X-Container-PaaS","last_synced_at":"2025-04-02T18:32:32.877Z","repository":{"id":65531951,"uuid":"593557929","full_name":"fscarmen2/Argo-X-Container-PaaS","owner":"fscarmen2","description":"为容器平台而生---平台部署方式为镜像或者 Dockerfile 方式的专用","archived":false,"fork":false,"pushed_at":"2023-09-10T08:34:09.000Z","size":106690,"stargazers_count":173,"open_issues_count":18,"forks_count":297,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-08-02T12:22:44.485Z","etag":null,"topics":["argo","chatgpt","cloudflare","container","docker","doprax","expressjs","koyeb","paas","render","v2ray","xray"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fscarmen2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-01-26T10:01:06.000Z","updated_at":"2024-08-02T03:50:53.000Z","dependencies_parsed_at":"2024-01-14T02:39:48.348Z","dependency_job_id":"9c4e4e6c-868e-4683-9152-48772c9bd841","html_url":"https://github.com/fscarmen2/Argo-X-Container-PaaS","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscarmen2%2FArgo-X-Container-PaaS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscarmen2%2FArgo-X-Container-PaaS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscarmen2%2FArgo-X-Container-PaaS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fscarmen2%2FArgo-X-Container-PaaS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fscarmen2","download_url":"https://codeload.github.com/fscarmen2/Argo-X-Container-PaaS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222863366,"owners_count":17049388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["argo","chatgpt","cloudflare","container","docker","doprax","expressjs","koyeb","paas","render","v2ray","xray"],"created_at":"2024-08-01T12:00:43.874Z","updated_at":"2024-11-03T15:30:13.552Z","avatar_url":"https://github.com/fscarmen2.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Xray + Argo for Container PaaS\n\n在没有公网的平台挖啊挖啊挖，Argo打通各式服务连接千万家。  \n---平台部署方式为镜像或者 Dockerfile 方式的专用\n\n* * *\n\n# 目录\n\n- [项目特点](README.md#项目特点)\n- [部署](README.md#部署)\n- [Argo Json 的获取](README.md#argo-json-的获取)\n- [Argo Token 的获取](README.md#argo-token-的获取)\n- [在 Koyeb 部署重点](README.md#在-koyeb-部署重点)\n- [在 Doprax 部署重点](README.md#在-doprax-部署重点)\n- [ttyd webssh / filebrowser webftp 的部署](README.md#ttyd-webssh--filebrowser-webftp-的部署)\n- [鸣谢下列作者的文章和项目](README.md#鸣谢下列作者的文章和项目)\n- [免责声明](README.md#免责声明)\n\n* * *\n\n## 项目特点:\n* 适用于通过 dockerhub 上已有的镜像或 Dockerfile 来建实例的平台\n* 在平台上部署 Xray，采用的方案为 Argo + Xray + WebSocket + TLS\n* 解锁 ChatGPT\n* 在浏览器查看系统各项信息，方便直观\n* 使用 CloudFlare 的 Argo 隧道，使用TLS加密通信，可以将应用程序流量安全地传输到Cloudflare网络，提高了应用程序的安全性和可靠性。此外，Argo Tunnel也可以防止IP泄露和DDoS攻击等网络威胁。\n* 回落分流，同时支持 Xray 4 种主流协议: vless /  vmess / trojan / shadowsocks\n* 集成哪吒探针，可以自由选择是否安装，支持 SSL/TLS 模式，适配 Nezha over Argo 项目: https://github.com/fscarmen2/Argo-Nezha-Service-Container\n* 前端 js 定时和 pm2 配合保活，务求让恢复时间减到最小\n* 节点信息以 V2rayN / Clash / 小火箭 链接方式输出\n* Xray 文件重新编译官方文件增加隐秘性，修改了运行时的显示信息，文件为: https://github.com/XTLS/Xray-core/blob/main/core/core.go\n* 可以使用浏览器使用 webssh 和 webftp，更方便管理系统\n\n\u003cimg width=\"718\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/215277537-ff358dc1-7696-481f-b8e4-74f0cdff30f4.png\"\u003e\n\n\n## 部署:\n### 镜像 `fscarmen/argo-x:latest`\n\n### PaaS 平台用到的变量:\n\n* PaaS 平台设置的环境变量\n  | 变量名        | 是否必须 | 默认值 | 备注 |\n  | ------------ | ------ | ------ | ------ |\n  | UUID         | 否 | de04add9-5c68-8bab-950c-08cd5320df18 | 可在线生成 https://www.zxgj.cn/g/uuid |\n  | WSPATH       | 否 | argo | 勿以 / 开头，各协议路径为 `/WSPATH-协议`，如 `/argo-vless`,`/argo-vmess`,`/argo-trojan`,`/argo-shadowsocks` |\n  | NEZHA_SERVER | 否 |        | 哪吒探针与面板服务端数据通信的IP或域名 |\n  | NEZHA_PORT   | 否 |        | 哪吒探针服务端的端口 |\n  | NEZHA_KEY    | 否 |        | 哪吒探针客户端专用 Key |\n  | NEZHA_TLS    | 否 |        | 哪吒探针是否启用 SSL/TLS 加密 ，如不启用不要该变量，如要启用填\"1\" |\n  | ARGO_AUTH    | 否 |        | Argo 的 Token 或者 json 值 |\n  | ARGO_DOMAIN  | 否 |        | Argo 的域名，须与 ARGO_DOMAIN 必需一起填了才能生效 |\n  | WEB_USERNAME | 否 | admin  | 网页和 webssh 的用户名 |\n  | WEB_PASSWORD | 否 | password | 网页和 webssh 的密码 |\n  | SSH_DOMAIN   | 否 |        | webssh 的域名，用户名和密码就是 \u003cWEB_USERNAME\u003e 和 \u003cWEB_PASSWORD\u003e |\n  | FTP_DOMAIN   | 否 |        | webftp 的域名，用户名和密码就是 \u003cWEB_USERNAME\u003e 和 \u003cWEB_PASSWORD\u003e |  \n  \n* 路径（path）\n  | 命令 | 说明 |\n  | ---- |------ |\n  | \u003cURL\u003e/list | 查看节点数据 |\n  | \u003cURL\u003e/status | 查看后台进程 |\n  | \u003cURL\u003e/listen | 查看后台监听端口 |\n  | \u003cURL\u003e/test  | 测试是否为只读系统 |  \n  \n* GitHub Actions 用到的变量\n\n  | 变量名 | 备注 |\n  | --------------- | -------------- |\n  | DOCKER_USERNAME | Dockerhub 用户名|\n  | DOCKER_PASSWORD | Dockerhub 密码 |\n  | DOCKER_REPO     | Dockerhub 库名 |\n\n\n## Argo Json 的获取\n\n用户可以通过 Cloudflare Json 生成网轻松获取: https://fscarmen.cloudflare.now.cc\n\n![image](https://user-images.githubusercontent.com/62703343/224388718-6adf22d0-01d3-46a0-8063-bc0a2210795f.png)\n\n如想手动，可以参考，以 Debian 为例，需要用到的命令，[Deron Cheng - CloudFlare Argo Tunnel 试用](https://zhengweidong.com/try-cloudflare-argo-tunnel)\n\n\n## Argo Token 的获取\n\n详细教程: [群晖套件：Cloudflare Tunnel 内网穿透中文教程 支持DSM6、7](https://imnks.com/5984.html)\n\n\u003cimg width=\"1409\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/218253461-c079cddd-3f4c-4278-a109-95229f1eb299.png\"\u003e\n\n\u003cimg width=\"1619\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/218253838-aa73b63d-1e8a-430e-b601-0b88730d03b0.png\"\u003e\n\n\u003cimg width=\"1155\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/218253971-60f11bbf-9de9-4082-9e46-12cd2aad79a1.png\"\u003e\n\n## 在 Koyeb 部署重点\n\n这里只作重点的展示，更详细可以参考项目: https://github.com/fscarmen2/V2-for-Koyeb\n\n[![Deploy to Koyeb](https://www.koyeb.com/static/images/deploy/button.svg)](https://app.koyeb.com/deploy?type=docker\u0026name=argox\u0026ports=3000;http;/\u0026env[UUID]=de04add9-5c68-8bab-950c-08cd5320df18\u0026env[NEZHA_SERVER]=server%20domain%20or%20ip\u0026env[NEZHA_PORT]=server%20port\u0026env[NEZHA_KEY]=agent%20key\u0026env[ARGO_AUTH]=argo%20token%20or%20json\u0026env[ARGO_DOMAIN]=Argo%20domain\u0026env[WEB_USERNAME]=Web%20username\u0026env[WEB_PASSWORD]=Web%20password\u0026env[SSH_DOMAIN]=ssh%20domain\u0026env[FTP_DOMAIN]=ftp%20domain\u0026image=docker.io/fscarmen/argo-x)\n\n\u003cimg width=\"680\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/218254134-20258fd8-f925-4f17-97f6-9a46cc28b364.png\"\u003e\n\n\u003cimg width=\"909\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/214797317-bc60c51b-9518-4db1-9878-f6c8eb52a9b3.png\"\u003e\n\n\u003cimg width=\"1340\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/215122040-7f3ba11b-4875-412c-a9c9-fefa05e336c5.png\"\u003e\n\n## 在 Doprax 部署重点\n\n这里只作重点的展示，更详细可以参考项目: https://github.com/fscarmen2/V2-for-Doprax\n  \n\u003cimg width=\"1663\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/214801019-a1e9cf5d-67f0-49c5-956b-927f50bbb207.png\"\u003e\n\n\u003cimg width=\"1000\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/214807633-18b1a1fe-a3b7-4f9b-99bd-0ef56e3a259c.png\"\u003e\n\n## ttyd webssh / filebrowser webftp 的部署\n\n* 原理\n```\n+---------+     argo     +---------+     http     +--------+    ssh    +-----------+\n| browser | \u003c==========\u003e | CF edge | \u003c==========\u003e |  ttyd  | \u003c=======\u003e | ssh server|\n+---------+     argo     +---------+   websocket  +--------+    ssh    +-----------+\n\n+---------+     argo     +---------+     http     +--------------+    ftp    +-----------+\n| browser | \u003c==========\u003e | CF edge | \u003c==========\u003e | filebrowser  | \u003c=======\u003e | ftp server|\n+---------+     argo     +---------+   websocket  +--------------+    ftp    +-----------+\n\n```\n\n* 使用 Json 方式建的隧道\n  \n\u003cimg width=\"1643\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/235453084-a8c55417-18b4-4a47-9eef-ee3053564bff.png\"\u003e\n\n\u003cimg width=\"1347\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/235453394-2d8fd1e9-02d0-4fa6-8c20-dda903fd06ae.png\"\u003e\n\n\u003cimg width=\"983\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/235453962-1001bcb8-e21d-4c1b-9b8f-6161706f5ccd.png\"\u003e\n\n\u003cimg width=\"1540\" alt=\"image\" src=\"https://user-images.githubusercontent.com/92626977/235454653-3ac83b16-b6f4-477b-bccf-2cce8bcfbabe.png\"\u003e\n\n## 鸣谢下列作者的文章和项目:\n* 前端 JS 在大佬 Nike Jeff 的项目 基础上，为了通用性和扩展功能作修改，https://github.com/hrzyang/glitch-trojan\n* 后端全部原创，如转载须注明来源。\n\n## 免责声明:\n* 本程序仅供学习了解, 非盈利目的，请于下载后 24 小时内删除, 不得用作任何商业用途, 文字、数据及图片均有所属版权, 如转载须注明来源。\n* 使用本程序必循遵守部署免责声明。使用本程序必循遵守部署服务器所在地、所在国家和用户所在国家的法律法规, 程序作者不对使用者任何不当行为负责。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffscarmen2%2FArgo-X-Container-PaaS","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffscarmen2%2FArgo-X-Container-PaaS","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffscarmen2%2FArgo-X-Container-PaaS/lists"}