Skip to content

Commit

Permalink
Update 2024-07-14-bt-docker-v2ray.md
Browse files Browse the repository at this point in the history
  • Loading branch information
8838 authored Jul 30, 2024
1 parent 2fdf99b commit d679005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _posts/2024-07-14-bt-docker-v2ray.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cat > /etc/v2ray/config.json <<EOF
"inbounds": [
{
"port": 10000,
"listen":"127.0.0.1",
"listen":"0.0.0.0",
"protocol": "vmess",
"settings": {
"clients": [
Expand Down Expand Up @@ -66,7 +66,7 @@ EOF
启动容器

```
docker run -d --network host --name v2ray --restart=always -v /etc/v2ray:/etc/v2ray teddysun/v2ray:4.45.2
docker run -d -p 10000:10000 -p 10000:10000/udp --name v2ray --restart=always -v /etc/v2ray:/etc/v2ray teddysun/v2ray:4.45.2
```

1,然后宝塔新建一个网站(域名是文章开头你解析的),如下图所示(数据库,PHP都无所谓)
Expand Down

0 comments on commit d679005

Please sign in to comment.