commit - 398253f3f5ec6d2d3ab346191a081fe9cd971f2d
commit + ad3bf176812f583a1deb899c0b1b902cf94d8752
blob - 598d83afe9b88f2cf74faaef04d359abb5e751ca
blob + 52530ea9194365b7b6368fbe3eb88e04d271d43c
--- site/contrib.gmi
+++ site/contrib.gmi
=> TREE/contrib/Dockerfile contrib/Dockerfile
-A sample Dockerfile that builds an alpine linux-based image with a statically linked gmid installed as /bin/gmid. To build the image:
+A sample Dockerfile that builds an alpine linux-based image. To build the image:
```instructions to build the image
# docker build -f contrib/Dockerfile -t gmid .
and then run it with something along the lines of:
```instruction to run the image
-# docker run --rm -it -p 1965:1965 \
- -v gmid.conf:/etc/gmid.conf:ro \
- -v path/to/keys:/tls:ro \
- -v /var/gemini:/var/gemini:ro \
- gmid -c /etc/gmid.conf
+# docker run --rm -it -p 1965:1965 \
+ -v /var/gemini:/path/to/gemini/root:ro \
+ gmid
```
+By default a sample config that serves the content of /var/gemini using a self-signed certificate is included.
+
+
## gencert
=> TREE/contrib/gencert contrib/gencert