Hey folks! I'm trying to create a straightforward setup for my application that includes Certbot, Nginx as a reverse proxy, two backends, and a frontend Angular app. My current thoughts are to run Certbot on the host since using it in Docker seems overly complicated for my standalone setup. I'm also questioning whether I should run Nginx in Docker, as I don't see a lot of benefits to that. For the backends, I'm planning to dockerize them using Docker Compose. As for the frontend, I'm unsure whether I should host it directly on my machine since Nginx will be running there or if I should containerize it too. What do you all think about this setup?
3 Answers
It sounds like a cool project! If you're mainly working on this to learn something new, consider trying Kubernetes for easier management and scaling in the future. If it's more for practical use, perhaps using AWS's ACM could simplify your cert management. Nginx will work great as a reverse proxy for your frontend, but there are simpler alternatives like Caddy that can automate cert issuance and serve challenges; it might be worth a look!
Caddy is indeed a great option! It's way easier to set up compared to Certbot and works well within Docker. If you're aiming for reproducibility, keeping everything in a single Docker Compose file is a smart move. And if you're looking for high availability, you might want to explore some container orchestration tools, like ECS or Fargate, even if they're a bit more complex.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically