Skip to content

Commit 17d0266

Browse files
authored
Update README.md
1 parent f2ecb60 commit 17d0266

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,28 @@ I will also write browser addons next week (4.November+) so you can set your ser
144144
docker pull getsum/getsum
145145
docker run -p127.0.0.1:8088:8088 getsum/getsum
146146
```
147+
148+
Running docker in tls mode (assuming your key is server.key and cert is server.crt):
149+
```
150+
docker pull getsum/getsum
151+
docker create -p127.0.0.1:8088:8088 -e tlskey='server.key' -e tlscert='server.crt' --name getsum getsum/getsum
152+
docker cp /path/to/server.key getsum:/app/
153+
docker cp /path/to/server.crt getsum:/app/
154+
docker start -i getsum
155+
156+
//then on client machine
157+
158+
cat > ~/.getsum/servers.yml << EOF
159+
servers:
160+
- name: server1
161+
address: https://127.0.0.1:8088
162+
EOF
163+
//on client use -skipVerify in case of self signed cert
164+
getsum -skipVerify -a MD5 -lib openssl https://download.microsoft.com/download/8/b/4/8b4addd8-e957-4dea-bdb8-c4e00af5b94b/NDP1.1sp1-KB867460-X86.exe 22e38a8a7d90c088064a0bbc882a69e5
165+
166+
167+
```
168+
147169
**Serverless support**
148170
I really wanted to add native lambda, cloud functions support for different providers but each provider has their own limits i.e. 200mb storage space or 2GB memory, so its currently postponed.
149171

0 commit comments

Comments
 (0)