Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
TOJ b5bd912e0b first commit | nginx configs | compose files | ssl scripts 7 лет назад
nginx first commit | nginx configs | compose files | ssl scripts 7 лет назад
README.md first commit | nginx configs | compose files | ssl scripts 7 лет назад
docker-compose.yml first commit | nginx configs | compose files | ssl scripts 7 лет назад
kill_production.sh first commit | nginx configs | compose files | ssl scripts 7 лет назад
rebuild_production.sh first commit | nginx configs | compose files | ssl scripts 7 лет назад
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