Create an Nginx Reverse Proxy with Lets Encrypt in Docker-Compose, then deploy as many apps as you want!
Checkout my course(s) at: https://learn.deanin.com
This tutorial covers using Lets Encrypt with Nginx as a reverse proxy to serve SSL certificates to every Rails docker container that you spin up. This means as you create more apps, you can point new subdomains to the server and Nginx will automatically find the new Docker containers and issue certificates to them. We also use Postgresql as the database in another Docker container.
Source:
https://github.com/Deanout/everything...
Digital Ocean Credits (Affiliate link, $200 credit for 60 days, if you spend $25 they pay me $25)
https://m.do.co/c/e10ec451ee35
Join this channel to help support these videos:
/ @deanin
Follow me on social media:
https://linktr.ee/deanin
If you liked this video, please consider subscribing: https://t.co/RZ4EwP0F2a
Timestamps
0:00 Demo
3:12 DigitalOcean Server Setup (Link In Description)
4:51 Docker Compose For Nginx And LetsEncrypt
9:21 Postgresql Docker Container
11:32 Ruby On Rails 7.1 Container
18:15 Creating A Second Rails Application
20:07 GitHub Setup
23:35 Running The Docker Applications With Test Certificates
33:25 Changing To Production SSL Certificates For Both Apps!
#Deanin #Software #Programming
Смотрите видео Deploy All Your Apps With SSL To One Nginx Server | Ruby On Rails 7.1 Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Deanin 01 Январь 1970, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,311 раз и оно понравилось 88 людям.