summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorthrowaway <developerthrowaway@protonmail.com>2023-08-23 18:31:08 -0500
committerthrowaway <throwaway@no-reply@lolcat.ca>2023-08-23 18:31:08 -0500
commit40e058a32a6e73e0afab55889302956ebf12d459 (patch)
tree780143773339ff0e2b4dbf60114975bbe6317b34 /README.md
parent981215583876eb4e149952b029769e16ef9cc7b0 (diff)
Add Dockerfile and docker entrypoint (#5)
Add Dockerfile and docker entrypoint Co-authored-by: lolcat <lolcat@no-reply@lolcat.ca> Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/5 Co-authored-by: throwaway <developerthrowaway@protonmail.com> Co-committed-by: throwaway <developerthrowaway@protonmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6a88308..9f1282f 100644
--- a/README.md
+++ b/README.md
@@ -102,3 +102,20 @@ service apache2 restart
You'll probably want to setup a tor address at this point, but I'm too lazy to put instructions here.
Ok bye!!!
+
+
+
+## Docker Install
+
+```
+git clone https://git.lolcat.ca/lolcat/4get
+cd 4get
+docker build -t 4get .
+docker run -d -p 80:80 -p 443:443 -e FOURGET_SERVER_NAME="4get.ca" -e FOURGET_SERVER_ADMIN_EMAIL="you@example.com" -v /etc/letsencrypt/live/domain.tld:/etc/4get/certs 4get
+```
+
+replace enviroment variables FOURGET_SERVER_NAME and FOURGET_SERVER_ADMIN_EMAIL with relevant values
+
+the certs directory expects files named `cert.pem`, `chain.pem`, `privkey.pem`
+
+