agate

Simple gemini server for static files
git clone https://github.com/mbrubeck/agate.git
Log | Files | Refs | README

commit 356a526708b153f41fde80157512159cfe820c1a
parent 2a23320c8d10fa6c84d187f28b5fa49c179d77b7
Author: skittlesvampir <62459226+skittlesvampir@users.noreply.github.com>
Date:   Mon, 26 Apr 2021 17:21:48 +0200

Updated docker run instructions (#57)

* fixed the path for the certificates inside the docker container, it had changed with cpnfeeny's latest commit
* remove trailing slashes for docker bind mounts for better legibility
* add --name agate to give the container a name
Diffstat:
Mtools/docker/README.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/docker/README.md b/tools/docker/README.md @@ -45,7 +45,7 @@ This process will take a few minutes because all the rust modules have to be com ## start the docker container ``` -docker run -t -d -p 1965:1965 -v /var/www/gmi/:/gmi/ -v /var/www/gmi/.certificates/:/.certificates/ -e HOSTNAME=example.org -e LANG=en-US agate:latest +docker run -t -d --name agate -p 1965:1965 -v /var/www/gmi:/gmi -v /var/www/gmi/.certificates:/app/.certificates -e HOSTNAME=example.org -e LANG=en-US agate:latest ``` You have to replace `/var/www/gmi/` with the folder where you'd like to have gemtext files and `/var/www/gmi/.certificates/` with the folder where you'd like to have your certificates stored. You also have to have to replace `example.org` with your domain name and if plan to speak in a different language than english in your gemini space than you should replace `en-US` with your countries language code (for example de-DE or fr-CA).