diff options
author | lolcat <lolcat@no-reply@lolcat.ca> | 2024-02-09 07:29:45 -0600 |
---|---|---|
committer | lolcat <lolcat@no-reply@lolcat.ca> | 2024-02-09 07:29:45 -0600 |
commit | c85d132211092bfe7f7a40082e55785c965af617 (patch) | |
tree | 4a8c43315f1b7a4776e2d19caa5f75f970b86108 /README.md | |
parent | 5648fcf2634968f113190e5af7148fc1977fc329 (diff) | |
parent | b3515bc0636e15d42c796ac31e4e088c007e55b2 (diff) |
Merge pull request 'modify docker entrypoint' (#35) from feature/fix_docker_apache into master
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/35
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -152,19 +152,17 @@ Now test the nginx config with `nginx -t`, if it says that everything is good, r ## Install using Docker (lol u lazy fuck) ``` -docker run -d -p 80:80 -e FOURGET_SERVER_NAME="4get.ca" -e FOURGET_SERVER_ADMIN_EMAIL="you@example.com" luuul/4get:latest +docker run -d -p 80:80 -e FOURGET_SERVER_NAME="4get.ca" luuul/4get:latest ``` ...Or with SSL: ``` -docker run -d -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 luuul/4get:latest +docker run -d -p 443:443 -v /etc/letsencrypt/live/domain.tld:/etc/4get/certs -e FOURGET_SERVER_NAME="4get.ca" luuul/4get:latest ``` -replace enviroment variables FOURGET_SERVER_NAME and FOURGET_SERVER_ADMIN_EMAIL with relevant values - if the certificate files are not mounted to /etc/4get/certs the service listens to port 80 -the certificate directory expects files named `cert.pem`, `chain.pem`, `privkey.pem` +the certificate directory expects files named `fullchain.pem` and `privkey.pem` ## Install using Docker Compose @@ -189,7 +187,6 @@ services: restart: always environment: - FOURGET_SERVER_NAME=4get.ca - - FOURGET_SERVER_ADMIN_EMAIL="you@example.com" ports: - "80:80" |