Sign inSign up

lerignoux/shadowsocks-libev

By lerignoux

•Updated almost 6 years ago

yet another container to run ss using a config file

Image
0

1.2K

lerignoux/shadowsocks-libev repository overview

⁠Shadowsocks-libev Dockerfile

This Dockerfile build an image for shadowsocks-libev⁠ with v2ray-plugin⁠, based on Alpine Linux.

Current version:

  • shadowsocks-libev: v3.3.4
  • v2ray-plugin: v1.3.0

⁠Quick Start

Get the docker image by running the following commands:

docker pull lerignoux/shadowsocks-libev
cp ./config.tpl.json ./config.json

Start a server instance:

docker run -d --name=shadowsocks-libev -v <config_path>:/etc/shadowsocks/config.json -p 8388:8388/tcp -p 8388:8388/udp lerignoux/shadowsocks-libev

And the client

docker run -d --name=shadowsocks-libev -v <config_path>:/etc/shadowsocks/config.json -p 8388:8388/tcp -p 8388:8388/udp lerignoux/shadowsocks-libev ss-local

⁠Configuration

edit the config.tpl.json with the settings you wish

⁠Using v2ray plugin

⁠tldr
docker run -d --name=shadowsocks-libev -v <config_path>:/etc/shadowsocks/config.json -e v2ray=1 -e HOST="your.host.com" -v <acme_path>/:certificates -p 8388:8388/tcp -p 8388:8388/udp lerignoux/shadowsocks-libev

your acme folder must container a container with your hostname and the following files: fullchain.pem, privkey.pem

for instance if my host is my.host.com, ensure: <acme_path>/my.host.com/fullchain.pem <acme_path>/my.host.com/privkey.pem

Server:

docker run -d --name=shadowsocks-libev -v <config_path>:/etc/shadowsocks/config.json -e v2ray=1 -e HOST="your.host.com" -v <acme_path>/:/certificates -p 8388:8388/tcp -p 8388:8388/udp lerignoux/shadowsocks-libev

Client:

docker run -d --name=shadowsocks-libev -v <config_path>:/etc/shadowsocks/config.json.json -e v2ray=1 -e HOST="your.host.com" -p 8388:8388/tcp -p 8388:8388/udp lerignoux/shadowsocks-libev ss-local

For more v2ray-plugin configrations please go to v2ray plugin docs⁠

⁠With docker-compose

see docker-compose.tpl.yml

Tag summary

Content type

Image

Digest

Size

12.4 MB

Last updated

almost 6 years ago

docker pull lerignoux/shadowsocks-libev