1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-02-09 13:47:10 +02:00

add shadowsocks

This commit is contained in:
kev 2015-02-09 22:40:25 +08:00
parent bb176dda00
commit e9c46aa1fe
2 changed files with 20 additions and 0 deletions

14
shadowsocks/Dockerfile Normal file
View File

@ -0,0 +1,14 @@
#
# Dockerfile for Shadowsocks
#
FROM python:latest
MAINTAINER noreply@datageek.info
RUN pip install shadowsocks
ENV PASSWORD secret
ENV METHOD aes-256-cfb
ENV WORKERS 10
CMD ssserver -k $PASSWORD -m $METHOD --workers $WORKERS

6
shadowsocks/fig.yml Normal file
View File

@ -0,0 +1,6 @@
shadowsocks:
image: vimagick/shadowsocks:latest
ports:
- "8388:8388"
environment:
- PASSWORD=secret