How I host my portfolio website on Hetzner Cloud using Docker, Nginx, and Cloudflare for high performance, scalability, and security.
My portfolio is hosted on Hetzner Cloud, a reliable and cost-effective cloud hosting provider. I use Docker to manage the different components of my portfolio application, ensuring portability and ease of deployment across environments.
Hetzner Cloud: The main server is provisioned on Hetzner’s cloud platform. It's a scalable and efficient solution that allows me to host my portfolio with high availability.
Docker: I use Docker to containerize my portfolio project. This ensures that the application runs consistently across different environments and simplifies the deployment process.
Nginx: On top of Docker, I use Nginx as a reverse proxy to manage routing and serve the portfolio. Nginx handles the traffic to the Docker containers and enables secure, optimized connections for my website. By running Nginx outside of Docker, I can efficiently manage traffic routing for multiple subdomains and Docker containers.
SSL with Cloudflare: My domain, jacobdev.dk
, is managed through Cloudflare. It provides DNS management, as well as SSL for secure HTTPS access. Cloudflare helps ensure that my website is fast, secure, and resilient to attacks.
Docker Compose: For orchestration, I use Docker Compose to define and run multi-container Docker applications. This allows me to easily manage my services, including Nginx, my portfolio app, and any databases or additional services needed.
This setup ensures high performance, scalability, and flexibility for my portfolio, making it easy to update and deploy new features as I continue to evolve the website. project combines data scraping with real-time analytics.