diff options
author | throwaway <developerthrowaway@protonmail.com> | 2023-08-23 18:31:08 -0500 |
---|---|---|
committer | throwaway <throwaway@no-reply@lolcat.ca> | 2023-08-23 18:31:08 -0500 |
commit | 40e058a32a6e73e0afab55889302956ebf12d459 (patch) | |
tree | 780143773339ff0e2b4dbf60114975bbe6317b34 /README.md | |
parent | 981215583876eb4e149952b029769e16ef9cc7b0 (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.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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` + + |