Deploy Nextjs on Docker with haproxy on ubuntu

How to deploy nextjs on a self-hosted ubuntu machine using docker, docker-compose and haproxy.
Petter Kjelkenes, a blog about technical stuff.
How to deploy nextjs on a self-hosted ubuntu machine using docker, docker-compose and haproxy.
At first it might seem overly complex. But in the end the result will have a huge outcome. All your atomic components matters.
Lets look at one way to generate a sitemap from dynamic content, in this blog post we will look at getServerSideProps + sitemap package.
Next 9.3 introduced getStaticProps, getStaticPaths and getServerSideProps. Using getStaticProps and getStaticPaths, you can generate any page fully statically rendered from any CMS. Today we are going to have a look at how can create a blog statically generated with Sanity as our CMS.
Describing the "boxes" in my technical room. The server, patch panel, switches, hubs and so fourth. This is my home automation solution
Useful linux commands that I use every day as a web developer.
How to do global state without any library, just using react hooks!
This article will be a list of what I think is good, and what I dont like about PHP.
There is an ongoing vote process for typed properties. Typed properties would be really good for PHP, as PHP has already gone on the way to be a strict types language.