[{"data":1,"prerenderedAt":112},["ShallowReactive",2],{"seo-verification":3,"blog-deployer-avec-dokku-en":6},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"id":7,"slug":8,"title":9,"excerpt":10,"readTime":11,"views":12,"isPinned":13,"publishedAt":14,"category":15,"categories":20,"featuredImage":22,"bgImage":23,"posterImage":24,"relatedSolution":25,"intro":27,"sections":28,"ctaTitle":68,"ctaBody":69,"ctaButton":70,"ctaUrl":71,"relatedPosts":72},34,"deployer-avec-dokku","Deploy your applications with Dokku on a VPS","Deploy your apps with Dokku, the smallest PaaS on the market: git push, Heroku buildpacks and automatic SSL on a lightweight VPS.",7,258,false,"2026-05-17T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":18},3,"Deployment","deploiement","bg-success\u002F10 text-success",[21],{"id":16,"name":17,"slug":18,"color":19,"icon":18},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fdeployer-avec-dokku-poster.svg",{"categorySlug":18,"appSlug":26},"dokku","Dokku bills itself as “the smallest PaaS in the world.” Built around Docker and Heroku buildpacks, it offers a `git push` deployment experience on a modest VPS, without a heavy interface. Here's how to install it and get your first application online.",[29,33,43,46,65],{"type":30,"title":31,"body":32},"h2","Why choose Dokku for your VPS","Where other PaaS solutions bundle a web interface and a full orchestrator, Dokku stays deliberately minimalist: it is a set of shell scripts that drive Docker. You push your code with `git push dokku main`, Dokku detects the language via Heroku buildpacks or a Dockerfile, builds the image and brings the application online. Everything is managed from the command line, which makes it extremely lightweight and predictable. It's the ideal choice for developers who want a Heroku-like workflow on a small VPS, without paying for an extra layer and without spending RAM on a dashboard. Its plugin ecosystem (PostgreSQL, Redis, Let's Encrypt) covers the essential needs.",{"type":34,"title":35,"items":36},"ul","The concrete strengths of Dokku",[37,38,39,40,41,42],"Minimal memory footprint: runs comfortably on a VPS with 1 GB of RAM.","Deployment via `git push`, just like Heroku, with automatic language detection.","Native support for Heroku buildpacks and Dockerfiles, your choice depending on your project.","Official plugins for PostgreSQL, MySQL, Redis and MongoDB, managed from the CLI.","Let's Encrypt plugin for automatic HTTPS and its renewal.","Zero-downtime deploys thanks to health checks before switching the container.",{"type":30,"title":44,"body":45},"Prerequisites for Dokku","Dokku is the most resource-efficient PaaS in this series. A VPS with 1 GB of RAM and 1 vCPU is enough for lightweight applications, but plan for 2 GB of RAM as soon as your builds use buildpacks (Node, Ruby, Python compile in memory) or you host a database alongside. Count on 25 GB of SSD disk. The recommended system is a freshly installed Ubuntu LTS, with no pre-installed Docker (the Dokku script installs it itself). On the DNS side: configure either one domain per application or a wildcard domain `*.mydomain.com` for subdomain-based deployment. Ports 22 (SSH, essential for `git push`), 80 and 443 must be open. Add your public SSH key to authorize deployments.",{"type":47,"title":48,"steps":49},"steps","Install Dokku and deploy an application",[50,53,56,59,62],{"title":51,"body":52},"Install Dokku via the official script","On a clean Ubuntu: `wget -NP . https:\u002F\u002Fdokku.com\u002Finstall\u002Fv0.34.0\u002Fbootstrap.sh` then `sudo DOKKU_TAG=v0.34.0 bash bootstrap.sh`. The script installs Docker, Nginx and Dokku in a few minutes.",{"title":54,"body":55},"Finalize the configuration and add your SSH key","Finish the installation by visiting the VPS IP in a browser or via the CLI. Add your public key with `dokku ssh-keys:add admin \u003C ~\u002F.ssh\u002Fid_rsa.pub` and set the global domain: `dokku domains:set-global mydomain.com`.",{"title":57,"body":58},"Create an application and its Git remote","On the server: `dokku apps:create mon-app`. On your machine, add the remote: `git remote add dokku dokku@mydomain.com:mon-app`. Dokku will automatically create the subdomain `mon-app.mydomain.com`.",{"title":60,"body":61},"Provision a database","Install the plugin: `dokku plugin:install https:\u002F\u002Fgithub.com\u002Fdokku\u002Fdokku-postgres.git`. Create a database with `dokku postgres:create ma-base` then link it to the app: `dokku postgres:link ma-base mon-app`. The `DATABASE_URL` variable is injected automatically.",{"title":63,"body":64},"Deploy and enable HTTPS","Push your code with `git push dokku main`: Dokku builds and deploys. Then install the Let's Encrypt plugin and run `dokku letsencrypt:enable mon-app` to obtain an automatic SSL certificate and configure its renewal.",{"type":66,"body":67},"tip","Enable automatic certificate renewal with `dokku letsencrypt:cron-job --add`, otherwise your certificates will expire after 90 days. For downtime-free deployments, configure a `CHECKS` file at the root of your project: Dokku verifies that the new version responds before switching traffic, guaranteeing a zero-downtime deploy. On a low-RAM VPS, add 2 GB of swap to prevent buildpack builds from being killed by the system (OOM killer).","Put Dokku into production on your VPS","A ServOrbit Cloud VPS running Ubuntu LTS, lightweight and affordable, is the ideal ground for Dokku and its git push deployment workflow.","Get started with a Cloud VPS","\u002Fvps-cloud",[73,86,99],{"id":74,"slug":75,"title":76,"excerpt":77,"readTime":11,"views":78,"isPinned":13,"publishedAt":79,"category":80,"categories":81,"featuredImage":22,"bgImage":23,"posterImage":83,"relatedSolution":84},33,"deployer-avec-caprover","Deploy your applications with CapRover on a VPS","Turn your VPS into a PaaS with CapRover: Git deployments in a single push, automatic SSL and a one-click app catalog.",221,"2026-05-18T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":18},[82],{"id":16,"name":17,"slug":18,"color":19,"icon":18},"\u002Fblog\u002Fcovers\u002Fdeployer-avec-caprover-poster.svg",{"categorySlug":18,"appSlug":85},"caprover",{"id":87,"slug":88,"title":89,"excerpt":90,"readTime":11,"views":91,"isPinned":13,"publishedAt":92,"category":93,"categories":94,"featuredImage":22,"bgImage":23,"posterImage":96,"relatedSolution":97},35,"deployer-avec-portainer","Deploy your applications with Portainer on a VPS","Manage Docker visually with Portainer on your VPS: containers, stacks, volumes and networks managed from a clear web interface.",295,"2026-05-16T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":18},[95],{"id":16,"name":17,"slug":18,"color":19,"icon":18},"\u002Fblog\u002Fcovers\u002Fdeployer-avec-portainer-poster.svg",{"categorySlug":18,"appSlug":98},"portainer",{"id":100,"slug":101,"title":102,"excerpt":103,"readTime":11,"views":104,"isPinned":13,"publishedAt":105,"category":106,"categories":107,"featuredImage":22,"bgImage":23,"posterImage":109,"relatedSolution":110},36,"deployer-avec-easypanel","Deploy your applications with Easypanel on a VPS","Deploy your applications with Easypanel on a VPS: modern interface, Nixpacks buildpacks, automatic SSL and one-click databases.",332,"2026-05-15T00:00:00+00:00",{"id":16,"name":17,"slug":18,"color":19,"icon":18},[108],{"id":16,"name":17,"slug":18,"color":19,"icon":18},"\u002Fblog\u002Fcovers\u002Fdeployer-avec-easypanel-poster.svg",{"categorySlug":18,"appSlug":111},"easypanel",1785628426833]