Setting Up Podman and Quadlets on Debian

submited by
Style Pass
2024-10-01 03:30:02

In this guide, I’ll walk you through setting up a Debian home server with Cockpit and Quadlets. While this is the method that worked for me, I’m always open to improvements and suggestions. Future posts will cover how to configure specific Quadlets in detail. This setup assumes you already have a Debian server with SSH access and the backports repository enabled.

Let’s create a quadlet for a Postgres database. Paste the following in a file ~/containers/postgres.container replace {USER} with your server username and {PASSWORD} with a secure password, you can also change the Postgres username if you like. Replace USER=1000 with the value of id -u and GROUP=100 with the value of id -g. The # vim: set filetype=systemd : at the bottom allows the .container file to highlight like a .service file, which it essentially is.

Leave a Comment