mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-08 12:35:28 +00:00
updating docker tools (#56)
updated the docker run command, changing the -d options to -v. added a start.sh file and edited the Dockerfile.
This commit is contained in:
parent
ac5b030ec2
commit
578f9ca276
3 changed files with 13 additions and 4 deletions
|
|
@ -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 --name agate -p 1965:1965 -d /var/www/gmi/:/gmi/ -d /var/www/gmi/.certificates/:/.certificates/ -e GEMINI_HOST=example.org -e GEMINI_LANG=en-US agate:latest
|
||||
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
|
||||
```
|
||||
|
||||
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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue