Post

v2fly-core

docker-compose

1
2
3
4
5
6
7
8
9
10
11
12
13
version: '3'
services:
  v2fly-core:
    container_name: v2fly-core
    image: v2fly/v2fly-core
    ports:
      - '10808:10808'
      - '10809:10809'
    volumes:
      - /home/save/vpn/v2fly-core/config:/etc/v2ray
      - /etc/hosts:/etc/hosts
    command: "run -c /etc/v2ray/config.json"
    restart: 'always'

配置文件

windows 客户端导出

1
2
3
4
5
6
.
├── config
│   └── config.json
└── docker-compose.yaml

1 directory, 2 files
This post is licensed under CC BY 4.0 by the author.