45 lines
749 B
YAML
45 lines
749 B
YAML
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 |