diff options
author | Omar Polo <op@omarpolo.com> | 2024-01-11 15:45:47 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-01-11 15:45:47 +0000 |
commit | ad3bf176812f583a1deb899c0b1b902cf94d8752 (patch) | |
tree | 2f3e884b10146dcaa7025479b3a79d6c6ab45931 /site | |
parent | 398253f3f5ec6d2d3ab346191a081fe9cd971f2d (diff) |
update contrib after Dockerfile changes
Diffstat (limited to 'site')
-rw-r--r-- | site/contrib.gmi | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/site/contrib.gmi b/site/contrib.gmi index 598d83a..52530ea 100644 --- a/site/contrib.gmi +++ b/site/contrib.gmi @@ -6,7 +6,7 @@ This directory is for additional contributed files which may be useful. => 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 . @@ -15,13 +15,14 @@ A sample Dockerfile that builds an alpine linux-based image with a statically li 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 |