From 5c8ede3de8d89a2c269086c83b6cf44c60f080aa Mon Sep 17 00:00:00 2001 From: PA4KEV Date: Sun, 7 May 2023 20:25:19 +0200 Subject: [PATCH] Update README on how to update SSH certificates with Certbot container --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bee042..9079a5f 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,19 @@ `docker push pa4kev/portfolio-reactjs-full:latest` +Node: `v19.3.0` + ## Server (Enaga) `docker pull pa4kev/portfolio-reactjs-full` if required, run certbot to set the certificates. -`docker run -it --rm -p 80:80 --name certbot -v "/etc/letsencrypt:/etc/letsencrypt" -v "/var/lib/letsencrypt:/var/lib/letsencrypt" certbot/certbot certonly --standalone --break-my-certs -d matsubara.nl -d www.matsubara.nl` +`docker run -it --rm -p 80:80 --name certbot -v "/etc/letsencrypt:/etc/letsencrypt" -v "/var/lib/letsencrypt:/var/lib/letsencrypt" certbot/certbot certonly --standalone --break-my-certs -d matsubara.nl -d www.matsubara.nl -d pa4kev.nl -d www.pa4kev.nl` `docker run -d --name react -p 80:80 -p 443:443 -v /etc/letsencrypt:/etc/letsencrypt -v /var/lib/letsencrypt:/var/lib/letsencrypt -v /var/www/html:/var/www/html pa4kev/portfolio-reactjs-full` +To renew, stop the current running container. Then re-run the same commands as above again. + ## Server (Wielewaal) `docker pull pa4kev/portfolio-mariadb`