Shadowsocks in docker container with v2ray plugin
- Enable tcp fast open. See for more
- Install docker on your server
- Run this command to get compose file:
$ wget https://raw.githubusercontent.com/OldTyT/shadowsocks_v2ray_docker/master/example/docker-compose.yml
- Setup env in file
docker-compose.yml
- Run docker compose:
$ docker compose up -d
There are several ways available:
- For get SS-link, send a GET request to:
http://DOMAIN/QR_Path/
- For get QRCode, send a GET request to:
http://DOMAIN/QR_Path/vpn.png
- For get
connect.json
, send a GET request to:http://DOMAIN/QR_Path/connect.json
ENV | Default value | Whats is it |
---|---|---|
PASSWORD |
5c301bb8-6c77-41a0-a606-4ba11bbab084 |
Shadowsocks password |
ENCRYPT |
chacha20-ietf-poly1305 |
Shadowsocks encrypt type. See for more. |
V2_Path |
s233 |
V2Ray path |
QR_Path |
/qr_img |
Path to qr code |
DOMAIN |
localhost |
Shadowsocks domain |
PORT |
80 |
Use this port for shadowsocks |