Sign inSign up

sunteya/v2ray

By sunteya

Updated about 8 years ago

A docker for v2ray

Image
0

322

sunteya/v2ray repository overview

sunteya/v2ray

v2ray: A platform for building proxies to bypass network restrictions.

Usage

  • Run v2ray with docker-compose

    v2ray.json.tmpl

    {
      "inbound": {
        "port": 10086,
        "protocol": "vmess",
        "settings": {
          "clients": [{ "id": "${V2RAY_CLIENT_ID1}" }]
        }
      },
      "outbound": {
        "protocol": "freedom",
        "settings": {}
      }
    }
    

    docker-compose.yml

    version: '3'
    services:
     v2ray:
       image: sunteya/v2ray:3.14
       volumes:
         - ./v2ray.json.tmpl:/app/config.json.tmpl
       ports:
         - "10086:10086"
       environment:
         - V2RAY_CLIENT_ID1=5e54798c-7720-4b35-89ff-539fde5392d8
    

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Tag summary

Content type

Image

Digest

Size

13.3 MB

Last updated

over 8 years ago

docker pull sunteya/v2ray