Docker compose config for proxy upstream node servers behind SSL ( Let's Encrypt ) Nginx on Debian Jessie. Personally I am not a huge Docker fan and err on the side of bash scripts and/or Lambda, but this may be valuable to you.
- debian/jessie
- docker
- nginx ( Let's Encrypt )
- node
- make sure .env file is set-up
- after its been built and up via docker-compose, install certs via
docker-compose exec nginx /etc/nginx/ssl/certbot.sh -v
( see below )
#!/bin/bash
. make.sh
docker-compose build
docker-compose up -d
# install certs
docker-compose exec nginx /etc/nginx/ssl/certbot.sh -v
- Cron task for cert updates