2022-12-01 23:02:35 +08:00
|
|
|
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:
|
2023-01-09 10:54:49 +08:00
|
|
|
V2RAYA_LOG_LEVEL: debug
|
2022-12-01 23:02:35 +08:00
|
|
|
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
|