Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
toj ce28e418f0 :recycle: cleaned-up some scripts | adjusted nginx configs 4 роки тому
nginx :recycle: cleaned-up some scripts | adjusted nginx configs 4 роки тому
README.md updated readme and named container 5 роки тому
docker-compose.yml :recycle: cleaned-up some scripts | adjusted nginx configs 4 роки тому
kill_production.sh :recycle: cleaned-up some scripts | adjusted nginx configs 4 роки тому
rebuild_production.sh :recycle: cleaned-up some scripts | adjusted nginx configs 4 роки тому
renew_keys.sh :recycle: cleaned-up some scripts | adjusted nginx configs 4 роки тому

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