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>
This commit is contained in:
parent
9812155838
commit
40e058a32a
4 changed files with 135 additions and 0 deletions
17
README.md
17
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`
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue