A docker-compose script for v2ray websocket on http 80
This script sets up an http server on port 80 and a v2ray service which handles all connection to /ray with vmess via websocket.
./prepare.sh $DOMAIN $UUID
docker-compose up -d
For example,
./prepare.sh example.org $(uuidgen)
The script also writes the UUID provided to the file uuid, and generates a v2ray config file v2raylocal.json, which opens a local port on 10802.