re-gendoc

This commit is contained in:
idk
2018-08-08 18:57:30 -04:00
parent 68d0c3c338
commit 1729dcc338
5 changed files with 21 additions and 20 deletions

View File

@ -4,6 +4,7 @@ ARG path=example/path
ENV samhost=sam-host
ENV samport=7656
ENV args="-r"
ENV user=$user
RUN apk update -U
RUN apk add go git make musl-dev
RUN mkdir -p /opt/$user
@ -17,4 +18,4 @@ USER $user
WORKDIR /opt/$user/
COPY $path /opt/$user/www
#VOLUME /opt/$user/
CMD eephttpd -sh=$samhost -sp=$samport $args
CMD eephttpd -s /opt/$user/ -sh=$samhost -sp=$samport $args

View File

@ -157,12 +157,12 @@ their own projects. An i2p-native static site generator in the style of jekyll
(but in go) could be cool.
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEcNIGBzi++AUjrK/311wDs5teFOEFAltrc2wACgkQ11wDs5te
FOGWoQf+J7JkA4o9LF1TOL55KXweBhfHSAQPw9qw8D+adeMp3fa8I/+nGAt+k/8o
9EeXiBDQ8JO1nC7H1E2gnpHVKiwUe+pRsLc4MZKzGgGenQKikxtzzz8dP5W9npAY
neMvCLc3JX+ub4d+qbKdDmCAcQKyLStjPHRku6+9d+DcrU/7IpPgFcPVtLAv+4wI
U39gN/NnTbLzfa1cVxZ3/j2ZUGEaMN5X5g/6ka+BFV+Ls88hAxWTmhkvvfs+iEpi
hcHdHwN0t06lpNuQtwm4QZ+N8sr3AZz6BEXlZ6W9X0UEoCvLluCJKK8eiTsKreH7
vTcERj6HW1P/0P3s/J/oSxErLG0TIw==
=oVby
iQEzBAEBCAAdFiEEcNIGBzi++AUjrK/311wDs5teFOEFAltrdVkACgkQ11wDs5te
FOE7Ngf/bII0PbXoadjiYgoCc4keWMwmdycWiPyVqIVQ8Qhph0wotbGCNIJoZjR8
Y/YDrLLkxeO2WXubutaKlvOBVd7dX+zZIdLdhMMx24hHoezsfsuZq3l2heoSR4aO
R1XG5Ze3cFpTtQ42aXgsaJYjpjVwa0dLli5ZGLzJO+dEqxj/RyPKH6NYizeGHmeE
czDB3Fsol28iFxcKVSdXuso6gYtEbyfXDHivVwLRZTbF91tpLMFGNdP6wwAvghG4
rszJ/lthXrTymF791mkMTlm6V0CSBcxjvEQ7BheZwDc16UiVHiA3vT83GwizSmHV
pX2lHVf44183t1SB6vl3hsXxpm22Iw==
=Y9yh
-----END PGP SIGNATURE-----

View File

@ -123,7 +123,7 @@ Usage of ./bin/eephttpd:
### build in docker
```
docker build --build-arg user=eephttpd -f Dockerfile -t eyedeekay/eephttpd .
docker build --build-arg user=eephttpd --build-arg path=example/www -f Dockerfile -t eyedeekay/eephttpd .
```
### Run in docker
@ -145,5 +145,5 @@ instance
--------
a running instance of eephttpd with the example index file is availble on
ttkljrsaqlyrq5nqed4bobvp3u3uk323sjtdhisitevlaepo4aoq.b32.i2p
6vdci6cxqcwtcjfnt537on7fwuihevyg3u7pntaiijts7pqkqo4a.b32.i2p

View File

@ -1,7 +1,7 @@
2018/08/08 22:25:38 SAM Bridge connection established.
2018/08/08 22:25:38 Destination keys generated, tunnel name: static-eepSite
2018/08/08 22:25:38 Serving ./www on HTTP port: 8100
and on ttkljrsaqlyrq5nqed4bobvp3u3uk323sjtdhisitevlaepo4aoq.b32.i2p
2018/08/08 22:25:58 SAM stream session established.
2018/08/08 22:25:58 Starting Listener.
2018/08/08 22:25:58 SAM Listener created, ttkljrsaqlyrq5nqed4bobvp3u3uk323sjtdhisitevlaepo4aoq.b32.i2p
2018/08/08 22:50:03 SAM Bridge connection established.
2018/08/08 22:50:03 Destination keys generated, tunnel name: static-eepSite
2018/08/08 22:50:03 Serving ./www on HTTP port: 8100
and on 6vdci6cxqcwtcjfnt537on7fwuihevyg3u7pntaiijts7pqkqo4a.b32.i2p
2018/08/08 22:50:23 SAM stream session established.
2018/08/08 22:50:23 Starting Listener.
2018/08/08 22:50:23 SAM Listener created, 6vdci6cxqcwtcjfnt537on7fwuihevyg3u7pntaiijts7pqkqo4a.b32.i2p

View File

@ -100,7 +100,7 @@
sam port to connect to (default "7656")
-z Allow zero-hop, non-anonymous tunnels(true or false)</code></pre>
<h3 id="build-in-docker">build in docker</h3>
<pre><code>docker build --build-arg user=eephttpd -f Dockerfile -t eyedeekay/eephttpd .</code></pre>
<pre><code>docker build --build-arg user=eephttpd --build-arg path=example/www -f Dockerfile -t eyedeekay/eephttpd .</code></pre>
<h3 id="run-in-docker">Run in docker</h3>
<pre><code>docker run -i -t -d --network si \
--env samhost=sam-host \
@ -113,4 +113,4 @@
--volume eephttpd:/home/eephttpd/ \
eyedeekay/eephttpd</code></pre>
<h2 id="instance">instance</h2>
<p>a running instance of eephttpd with the example index file is availble on ttkljrsaqlyrq5nqed4bobvp3u3uk323sjtdhisitevlaepo4aoq.b32.i2p</p>
<p>a running instance of eephttpd with the example index file is availble on 6vdci6cxqcwtcjfnt537on7fwuihevyg3u7pntaiijts7pqkqo4a.b32.i2p</p>