2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00
This commit is contained in:
kev
2015-05-12 16:49:35 +08:00
parent 85dafb9867
commit 516d25aad7
3 changed files with 5 additions and 4 deletions

View File

@@ -18,8 +18,6 @@ ENV RUN_MODE server
ENV LISTEN_ADDR 0.0.0.0
ENV LISTEN_PORT 4911
EXPOSE $LISTEN_PORT
CMD obfsproxy --log-min-severity=$LOG_MIN_SEVERITY --data-dir=$DATA_DIR \
scramblesuit --password=$PASSWORD --dest=$DEST_ADDR:$DEST_PORT \
$RUN_MODE $LISTEN_ADDR:$LISTEN_PORT

View File

@@ -85,3 +85,5 @@ You can generate one via this command:
```
python -c 'import base64, os; print base64.b32encode(os.urandom(20))'
```
Note: There's no ports exposed in Dockerfile. You need to expose port explicitly.