You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
maeda 65ae63980f :recycle: actually copy the config преди 3 години
nginx :recycle: actually copy the config преди 3 години
README.md first commit | nginx configs | compose files | ssl scripts преди 7 години
docker-compose.yml :recycle: adjusting defaults преди 5 години
kill_production.sh :recycle: adjusting defaults преди 5 години
rebuild_production.sh :recycle: adjusting defaults преди 5 години
renew_keys.sh first commit | nginx configs | compose files | ssl scripts преди 7 години

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 `generatekeys.sh`
-DO NOT run `generatekeys.sh` as a script
-Run the `./rebuild.sh` script to use the new keys