lite v2ray via docker

docker image

1
docker pull teddysun/v2ray

docker compose

1
2
3
4
5
6
7
8
9
10
version: '3.9'

services:
v2ray:
image: teddysun/v2ray
restart: always
volumes:
- ./config:/etc/v2ray
ports:
- 9000:9000

config.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"inbounds": [{
"port": 9000,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "100xxxxx-xxxx-xxxx-xxxx-00xxxxxxxxxx",
"level": 1,
"alterId": 64
}
]
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {}
}]
}