🎉 init(project)

This commit is contained in:
evlic 2022-12-01 23:02:35 +08:00
parent 9ed8cacad4
commit 41249b6756
5 changed files with 62 additions and 0 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

5
.env Normal file
View File

@ -0,0 +1,5 @@
COMPOSE_PROJECT_NAME=vproxy
TZ=Asia/Shanghai
TERM=xterm-256color
DIR=$HOME/docker.data/vproxy

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/*/

View File

@ -0,0 +1,11 @@
# VProxx Docker Template
> Docker Compose 模版文件
.env 环境变量
v2a 数据
ngx 数据
subv 不推荐做调整,默认开放端口使用就合适了

45
docker-compose.yaml Normal file
View File

@ -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