Adding example docker config to readme

This commit is contained in:
Denis-Cosmin Nutiu 2018-01-01 16:49:02 +02:00
parent 6d06d71c31
commit 87c8409be3

View file

@ -116,4 +116,27 @@ CONTAINER ID IMAGE COMMAND CREATED
90b6f00b1331 simplft "./simplFTP -confi..." 2 minutes ago Up 2 minutes 0.0.0.0:8081->8081/tcp, 0.0.0.0:32768->8080/tcp devtest 90b6f00b1331 simplft "./simplFTP -confi..." 2 minutes ago Up 2 minutes 0.0.0.0:8081->8081/tcp, 0.0.0.0:32768->8080/tcp devtest
➜ server git:(master) ✗ docker container stop 90b6f00b1331 ➜ server git:(master) ✗ docker container stop 90b6f00b1331
90b6f00b1331 90b6f00b1331
```
#### Example docker config
```json
{
"address": "0.0.0.0",
"port": 8080,
"maxDirDepth": 30,
"absoluteServePath": "/externalVolume",
"pic": {
"color": true,
"x": 197,
"y": 50
},
"upload": {
"enabled": true,
"directory": "upload",
"timeout": 5,
"address": "0.0.0.0",
"port": 8081
}
}
``` ```