From b3515bc0636e15d42c796ac31e4e088c007e55b2 Mon Sep 17 00:00:00 2001 From: throwaway Date: Fri, 9 Feb 2024 01:59:25 -0800 Subject: modify docker entrypoint --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 512a95e..ea93811 100644 --- a/README.md +++ b/README.md @@ -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" -- cgit v1.2.3