add v2raya compose file

This commit is contained in:
DefectingCat
2024-01-25 09:42:51 +08:00
parent 8211c85fa2
commit a4f00ec584

View File

@ -0,0 +1,18 @@
version: "3.3"
services:
v2raya:
restart: always
privileged: true
network_mode: host
container_name: v2raya
environment:
- V2RAYA_LOG_FILE=/tmp/v2raya.log
- V2RAYA_V2RAY_BIN=/usr/local/bin/v2ray
- V2RAYA_NFTABLES_SUPPORT=off
- IPTABLES_MODE=legacy
volumes:
- /lib/modules:/lib/modules:ro
- /etc/resolv.conf:/etc/resolv.conf
- /etc/v2raya:/etc/v2raya
image: mzz2017/v2raya
networks: {}