docs: added example for rootless podman quadlet deployment (#1389)

This commit is contained in:
Gianni Young
2025-10-22 16:29:00 -06:00
committed by GitHub
parent 4e268ab199
commit 1f437f20a6
6 changed files with 90 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
[Unit]
Description=booklore container
Requires=booklore-db.container
After=booklore-db.container
[Container]
ContainerName=booklore
Image=ghcr.io/booklore-app/booklore:latest
Pod=booklore.pod
AutoUpdate=registry
Pull=always
Volume=booklore-data:/app/data
# note the :z is important for selinux systems
# Volume=YOUR MOUNTS:/books:z
# Volume=YOUR MOUNTS:/bookdrop:z
Environment=TZ=Etc/UTC
Secret=booklore_db_pass,type=env,target=DATABASE_PASSWORD
Environment=DATABASE_URL=jdbc:mariadb://localhost:3306/booklore
Environment=DATABASE_USERNAME=booklore
Environment=BOOKLORE_PORT=6060