docker: docker 相关配置放到 docker 目录下
This commit is contained in:
30
docker/y480.yaml
Normal file
30
docker/y480.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
services:
|
||||
owss:
|
||||
image: ronggang/owss:latest
|
||||
container_name: owss
|
||||
restart: always
|
||||
privileged: true
|
||||
# host 模式和 bridge 模式二选一
|
||||
network_mode: host
|
||||
# ports:
|
||||
# - "8088:8088"
|
||||
volumes:
|
||||
- /OWSS/storage:/app/storage
|
||||
- /OWSS/config:/app/config
|
||||
|
||||
v2raya:
|
||||
image: mzz2017/v2raya:latest
|
||||
container_name: v2raya
|
||||
restart: always
|
||||
privileged: true
|
||||
network_mode: host
|
||||
volumes:
|
||||
- /lib/modules:/lib/modules:ro
|
||||
- /etc/resolv.conf:/etc/resolv.conf
|
||||
- /etc/v2raya:/etc/v2raya
|
||||
environment:
|
||||
# V2RAYA_V2RAY_BIN: /usr/local/bin/v2ray # 老版本用这个,要开 xray 不设置这个环境变量
|
||||
# V2RAYA_V2RAY_BIN: /usr/bin/v2raya_core # 新版本用这个,或者不设置这个环境变量
|
||||
V2RAYA_LOG_FILE: /tmp/v2raya.log
|
||||
V2RAYA_NFTABLES_SUPPORT: off
|
||||
IPTABLES_MODE: legacy
|
||||
Reference in New Issue
Block a user