Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
87c9803305 | ||
|
4db0bf66b5 |
81
docker-compose-def.yaml
Normal file
81
docker-compose-def.yaml
Normal file
@ -0,0 +1,81 @@
|
||||
version: '4'
|
||||
services:
|
||||
v2:
|
||||
container_name: v2
|
||||
image: mzz2017/v2raya:latest
|
||||
restart: always
|
||||
ports:
|
||||
- 7990-7999:7990-7999
|
||||
init: true
|
||||
networks:
|
||||
- vlss
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- "2001:4860:4860::8888"
|
||||
volumes:
|
||||
- ${DIR}/v2a:/etc/v2raya
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
V2RAYA_LOG_LEVEL: debug
|
||||
V2RAYA_ADDRESS: 0.0.0.0:7997
|
||||
TZ:
|
||||
TERM:
|
||||
# dae:
|
||||
# container_name: dae
|
||||
# image: daeuniverse/dae:latest
|
||||
# restart: always
|
||||
# privileged: true
|
||||
# pid: host
|
||||
# network_mode: host
|
||||
# networks:
|
||||
# - vlss
|
||||
|
||||
ngx:
|
||||
container_name: ngx
|
||||
image: nginx:latest
|
||||
restart: always
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
networks:
|
||||
- vlss
|
||||
environment:
|
||||
TZ:
|
||||
TERM:
|
||||
volumes:
|
||||
- ${DIR}/ngx/etc:/etc/nginx
|
||||
- ${DIR}/ngx/log:/var/log/nginx
|
||||
|
||||
subconv:
|
||||
container_name: subv
|
||||
restart: always
|
||||
image: subconverter:dev
|
||||
build:
|
||||
context: .
|
||||
dockerfile: sub.Dockerfile
|
||||
networks:
|
||||
- vlss
|
||||
|
||||
subweb:
|
||||
container_name: subw
|
||||
restart: always
|
||||
image: careywong/subweb:latest
|
||||
networks:
|
||||
- vlss
|
||||
depends_on:
|
||||
- subconv
|
||||
|
||||
networks:
|
||||
vlss:
|
||||
driver: bridge
|
||||
# external: true
|
||||
name: local
|
||||
# ip6net:
|
||||
enable_ipv6: true
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 192.18.0.0/16
|
||||
- subnet: fd00::/80
|
||||
gateway: fd00::1
|
||||
|
@ -1,17 +1,13 @@
|
||||
version: '4'
|
||||
# host
|
||||
services:
|
||||
v2:
|
||||
container_name: v2
|
||||
image: mzz2017/v2raya:latest
|
||||
image: evlic/v2raya:dev
|
||||
privileged: true
|
||||
restart: always
|
||||
ports:
|
||||
- 7990-7999:7990-7999
|
||||
init: true
|
||||
networks:
|
||||
- vlss
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- "2001:4860:4860::8888"
|
||||
network_mode: host
|
||||
volumes:
|
||||
- ${DIR}/v2a:/etc/v2raya
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
@ -20,62 +16,4 @@ services:
|
||||
V2RAYA_ADDRESS: 0.0.0.0:7997
|
||||
TZ:
|
||||
TERM:
|
||||
# dae:
|
||||
# container_name: dae
|
||||
# image: daeuniverse/dae:latest
|
||||
# restart: always
|
||||
# privileged: true
|
||||
# pid: host
|
||||
# network_mode: host
|
||||
# networks:
|
||||
# - vlss
|
||||
|
||||
ngx:
|
||||
container_name: ngx
|
||||
image: nginx:latest
|
||||
restart: always
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
networks:
|
||||
- vlss
|
||||
environment:
|
||||
TZ:
|
||||
TERM:
|
||||
volumes:
|
||||
- ${DIR}/ngx/etc:/etc/nginx
|
||||
- ${DIR}/ngx/log:/var/log/nginx
|
||||
|
||||
subconv:
|
||||
container_name: subv
|
||||
restart: always
|
||||
image: subconverter:dev
|
||||
build:
|
||||
context: .
|
||||
dockerfile: sub.Dockerfile
|
||||
networks:
|
||||
- vlss
|
||||
|
||||
subweb:
|
||||
container_name: subw
|
||||
restart: always
|
||||
image: careywong/subweb:latest
|
||||
networks:
|
||||
- vlss
|
||||
depends_on:
|
||||
- subconv
|
||||
|
||||
networks:
|
||||
vlss:
|
||||
driver: bridge
|
||||
# external: true
|
||||
name: local
|
||||
# ip6net:
|
||||
enable_ipv6: true
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 192.18.0.0/16
|
||||
- subnet: fd00::/80
|
||||
gateway: fd00::1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user