{"id":15779569,"url":"https://github.com/jim60105/docker-v2ray","last_synced_at":"2025-10-15T21:31:06.934Z","repository":{"id":107553619,"uuid":"276253151","full_name":"jim60105/docker-V2Ray","owner":"jim60105","description":"V2Ray on Docker (Docker Compose) ","archived":true,"fork":false,"pushed_at":"2023-03-23T03:06:28.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-04T18:21:05.309Z","etag":null,"topics":["docker","docker-compose","docker-compose-files","v2ray","v2ray-dockerize"],"latest_commit_sha":null,"homepage":"","language":null,"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/jim60105.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-01T02:04:19.000Z","updated_at":"2024-01-15T03:20:39.000Z","dependencies_parsed_at":"2023-06-08T12:00:15.146Z","dependency_job_id":null,"html_url":"https://github.com/jim60105/docker-V2Ray","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-V2Ray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-V2Ray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-V2Ray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jim60105%2Fdocker-V2Ray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jim60105","download_url":"https://codeload.github.com/jim60105/docker-V2Ray/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236646107,"owners_count":19182599,"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":["docker","docker-compose","docker-compose-files","v2ray","v2ray-dockerize"],"created_at":"2024-10-04T18:20:29.067Z","updated_at":"2025-10-15T21:31:01.673Z","avatar_url":"https://github.com/jim60105.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# V2Ray on Docker\n\n\u003e 這是從屬於 [jim60105/docker-ReverseProxy](https://github.com/jim60105/docker-ReverseProxy) 的 V2Ray 方案\\\n必須在上述伺服器運行正常後再做\n\nV2Ray 是現在流行的翻牆軟體，可以想為是 VPN 跳板的進化版。VPN 已經可被 GFW 識別封鎖，SS 據說也快不行了，而 V2Ray 能包成在特徵上和一般 https 訪問沒什麼不同，所以不容易識別。從 GFW 的角度來看，你就只是整天盯著同個網站的怪咖。\n\n怪不怪呢? 當然很怪，但又沒有人規定不行。雖然 GFW 沒辦法知道你在做什麼，但從行為上能看出來你很可疑。自己心裡要有個底，和公安喝茶時多帶些伴手禮。\n\n不過我這裡沒有 GFW，我架這個是弄好玩的，純粹當成個人的國外跳板在用囉。\n\n## 部屬\n\n### Server\n\n1. 請參考`.env_sample`建立`.env`\n   * DOMAIN=你的伺服器網域\n   * UUID=從 [https://www.uuidgenerator.net/](https://www.uuidgenerator.net/ \"https://www.uuidgenerator.net/\") 取得一組隨機 UUID 後填入，和後述 Client 的 UUID 應相同\n   * EMAIL=你的 email\n1. `docker-compose up -d`\n1. `docker-compose logs -f` 確認沒有錯誤訊息\n\n### Client\n\n1. 在此下載客戶端 [v2fly/v2ray-core](https://github.com/v2fly/v2ray-core/releases/latest)\\\n   (Windows用戶下載 `v2ray-windows-64.zip`)\\\n   注意你的 client 版本是 v4 還是 v5，需使用不同的設定檔\n1. 依照你的 client 版本以`forClient/config_v4.json`或是`forClient/config_v5.json`取代client端程式目錄下的`config.json`\n1. 以文字編輯器開啟`config.json`，替換以下所有字串\n   * `your.domain.com`: 你的伺服器網域\n   * `UUID`: 要和前述 Server 的 UUID 相同，注意有兩處要替換\n1. Client 端運行 v2ray (v5版運行 `v2ray run -format jsonv5`)\n1. 瀏覧器以[SwitchyOmega](https://chrome.google.com/webstore/detail/proxy-switchyomega/padekgcemlokbadohgkifijomclgjgif?hl=zh-TW)，由 `SOCKS5://localhost:1080` 溝通\\\n   ![image](https://user-images.githubusercontent.com/16995691/156827558-7404d795-2ae9-47e8-bcbf-9b0d8e9eda8f.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim60105%2Fdocker-v2ray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjim60105%2Fdocker-v2ray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjim60105%2Fdocker-v2ray/lists"}