Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
toj a0caa22098 updated readme and named container il y a 5 ans
nginx added params for multiple domains il y a 7 ans
README.md updated readme and named container il y a 5 ans
docker-compose.yml updated readme and named container il y a 5 ans
kill_production.sh added params for multiple domains il y a 7 ans
rebuild_production.sh added params for multiple domains il y a 7 ans
renew_keys.sh added params for multiple domains il y a 7 ans

README.md

Production Container Helpers

Nginx container

Nodejs Application container

Nginx serves the application as a reverse proxy.

host-machine:8001 -> nginx:80 -> nodejs:3001

Usage

Change the configuration files labelled with your domain

Start containers: docker-compose up

Stop and remove containers: ./kill_production.sh

Generate new keys with certbot:

-Check using `sudo certbot renew --dry-run`
-Run the commands inside the `renew_keys.sh`
-DO NOT run `renew_keys.sh` as a script
-Run the `./rebuild_production.sh` script to use the new keys