mirror of
https://github.com/DefectingCat/dotfiles
synced 2025-07-15 16:51:36 +00:00
add v2raya compose file
This commit is contained in:
18
dockerfiles/v2raya/compose.yml
Normal file
18
dockerfiles/v2raya/compose.yml
Normal 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: {}
|
Reference in New Issue
Block a user