A docker-compose deployment for v2ray + WebSocket + TLS
setup.
Recommended server: bandwagonhost.com
- Install tools
yum install -y iperf3 vim git
./setup-centos7.sh
which does the following
yum install -y epel-release
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce
systemctl start docker
systemctl enable docker
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
Update ./configs/v2ray/config.json
client-uuid
[email protected]
Update ./configs/Caddyfile
- Replace
localhost:8080
with real domain
docker-compose up
Or run as daemon
docker-compose up -d
See ./examples
- client.json: for v2ray 4.20.0
- client.legacy.json: for old v2ray or v2rayU
- transparent-proxy.json: gateway proxy thru dokodemo-door + iptables
VPS Benchmarking: wget -qO- git.io/superbench.sh | bash