Skip to content
foxwsPublic

About

A catalog of ready-to-install Podman Quadlets for self-hosted apps and development services, like Flathub but for containers. The app source for Pods.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Quadlets

Services and self-hosted applications as plain Podman Quadlets. They need Podman 6+ and systemd, and have no placeholders: install them as they are.

Every directory is one application, with a pods.yml that describes it: its label, description, author, icon, category, website, source repository and notes. Pods lists these in its catalog. A service has two sources:

  • development/ publishes its port on 127.0.0.1 and needs no secrets, like a local development stack.
  • production/ keeps it on its own network and reads passwords and keys from Podman secrets.
Application Sources Development port
postgres production, development 5432
mariadb production, development 3306
mysql production, development 3307
redis production, development 6379
valkey production, development 6380
memcached production, development 11211
meilisearch production, development 7700
typesense production, development 8108
rustfs production, development 9000, console 9001
mailpit development SMTP 1025, inbox 8025
jellyfin, immich, vaultwarden, memos, syncthing, adguardhome, homarr, glance, glances, qbittorrent, sabnzbd the directory itself see their pods.yml

The homelab applications come from francoism90/dotfiles. Some bind a directory of your home folder, such as ~/Media for Jellyfin, through a .volume with Type=none. Make sure the directory exists, or point the volume somewhere else with a drop-in (see below).

Installing

With Pods, pick an application from the catalog on the Install application page. Pods creates the secrets it needs.

By hand, create the secrets the .container files name, then install the directory:

printf '%s' "$(openssl rand -base64 24)" | podman secret create postgres-password -
podman quadlet install --application=postgres postgres/production/
systemctl --user start postgres.service

Changing an installed application

Don't edit the installed units: a reinstall or update replaces them. Put your changes in a drop-in next to them instead, in ~/.config/containers/systemd/<application>/<unit>.d/*.conf, which Quadlet merges into the unit:

# ~/.config/containers/systemd/jellyfin/jellyfin-media.volume.d/path.conf
[Volume]
Device=/var/mnt/media
# ~/.config/containers/systemd/jellyfin/jellyfin.container.d/port.conf
[Container]
# An empty value clears the PublishPort= of the unit, the next adds yours.
PublishPort=
PublishPort=127.0.0.1:18096:8096

Then run systemctl --user daemon-reload and restart the application. A key that takes one value, such as Device= or Image=, is replaced. A key that can repeat, such as Environment=, Volume= or PublishPort=, is added to, unless you clear it first with an empty value. lpod writes its own drop-ins there too, such as for on-demand applications and the Pods proxy.

Connecting from an application

Join the service's network and use its name as the host:

[Container]
Network=systemd-postgres
# DB_HOST=postgres, DB_PORT=5432

pods.yml

version: 1
name: mariadb
label: MariaDB
description: Relational database compatible with MySQL
author: foxws
icon: i-lucide-database        # a Lucide icon
category: Databases
website: https://mariadb.org
repository: https://github.com/MariaDB/server
notes: Shown before installing.

sources:                       # paths are relative to this directory
  production:
    path: production
  development:
    path: development

secrets:
  mariadb-root-password:
    description: Password of the MariaDB root user
    generate: true

About

A catalog of ready-to-install Podman Quadlets for self-hosted apps and development services, like Flathub but for containers. The app source for Pods.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors