diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..d714c77 Binary files /dev/null and b/.DS_Store differ diff --git a/.env b/.env new file mode 100644 index 0000000..bb1bf95 --- /dev/null +++ b/.env @@ -0,0 +1,5 @@ +COMPOSE_PROJECT_NAME=vproxy +TZ=Asia/Shanghai +TERM=xterm-256color + +DIR=$HOME/docker.data/vproxy \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..63ea916 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/*/ diff --git a/README.md b/README.md index e69de29..5e4b058 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,11 @@ +# VProxx Docker Template + +> Docker Compose 模版文件 + +.env 环境变量 + +v2a 数据 + +ngx 数据 + +subv 不推荐做调整,默认开放端口使用就合适了 diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..6e803bc --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,45 @@ +version: '2.12' +services: + v2: + container_name: v2 + image: mzz2017/v2raya:latest + restart: always + ports: + - 7990-7999:7990-7999 + networks: + - vlss + volumes: + - ${DIR}/v2a:/etc/v2raya + environment: + V2RAYA_ADDRESS: 0.0.0.0:7997 + depends_on: + - ngx + + ngx: + container_name: ngx + image: nginx:latest + restart: always + ports: + - 80:80 + - 443:443 + networks: + - vlss + volumes: + - ${DIR}/ngx/etc:/etc/nginx + - ${DIR}/ngx/log:/var/log/nginx + + subconv: + container_name: subv + restart: always + image: tindy2013/subconverter:latest + ports: + - 25500:25500 + networks: + - vlss + depends_on: + - ngx + + +networks: + vlss: + driver: bridge \ No newline at end of file