1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
This commit is contained in:
kev 2015-05-27 10:25:59 +08:00
parent 76c0c40451
commit f7ded21f69

View File

@ -21,6 +21,7 @@ server:
- "SERVER_PORT=80"
- "PROXY_IP=www.google.com"
- "PROXY_PORT=80"
- "KEY=CB2FBA2BC70490526E749E01BB050F6B555964290DFF58CF24785B4A093F7B18"
client:
image: vimagick/fteproxy
@ -34,8 +35,12 @@ client:
- "SERVER_PORT=80"
- "CLIENT_IP=0.0.0.0"
- "CLIENT_PORT=80"
- "KEY=CB2FBA2BC70490526E749E01BB050F6B555964290DFF58CF24785B4A093F7B18"
```
> To generate random key:
> `xxd -u -p -c32 /dev/urandom | head -n1`
## Run fteproxy server/client
```