1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/shadowsocks/README.md

53 lines
975 B
Markdown
Raw Normal View History

2015-06-23 03:00:07 +02:00
shadowsocks
===========
2015-07-16 11:23:25 +02:00
![](https://badge.imagelayers.io/vimagick/shadowsocks:latest.svg)
2015-09-16 10:08:42 +02:00
![](https://badge.imagelayers.io/vimagick/shadowsocks-libev:latest.svg)
![](https://badge.imagelayers.io/vimagick/shadowsocks-arm:latest.svg)
2015-06-23 03:00:07 +02:00
2015-06-16 10:11:19 +02:00
[`shadowsocks`][1] is a secure socks5 proxy,
2015-06-11 17:00:57 +02:00
designed to protect your Internet traffic.
> If you want to keep a secret,
> you must also hide it from yourself.
## docker-compose.yml
```
2015-09-16 10:08:42 +02:00
server:
image: vimagick/shadowsocks-libev
2015-06-11 17:00:57 +02:00
ports:
- "8388:8388"
environment:
2015-09-16 10:08:42 +02:00
- METHOD=chacha20
- PASSWORD=secret
restart: always
client:
image: vimagick/shadowsocks
ports:
- "1080:1080"
environment:
- SERVER_ADDR=foobar.site
- METHOD=chacha20
2015-06-11 17:00:57 +02:00
- PASSWORD=secret
restart: always
```
## server
```
2015-09-16 10:08:42 +02:00
$ docker-compose up -d server
2015-06-11 17:00:57 +02:00
```
## client
```
2015-09-16 10:08:42 +02:00
$ docker-compose up -d client
2015-06-11 17:00:57 +02:00
```
[read more][2]
[1]: http://shadowsocks.org
[2]: https://github.com/shadowsocks/shadowsocks/wiki/Configuration-via-Config-File