mirror of
https://github.com/adityachandelgit/BookLore.git
synced 2026-02-17 18:57:40 +01:00
* feat: remove nginx and serve Angular directly from Spring Boot * fix: handle null values in EnabledFields deserialization from persisted JSON * fix(migration): auto-repair failed Flyway migrations on startup * fix(migration): replace DB triggers with app-level orphan cleanup * fix: restore default port to 6060 for backwards compatibility * fix: align all port references to 6060 and add OPDS compression MIME types * fix: resolve NG0101 recursive tick error in book browser selection --------- Co-authored-by: acx10 <acx10@users.noreply.github.com>
Podman Example
This directory contains an example of how to use a rootless Podman pod defined through Quadlets to run booklore.
Setup
- Copy the files in this directory to a suitable location on your system.
- For many systems Quadlet monitors
~/.config/containers/systemdmkdir -p ~/.config/containers/systemd && cp ./*lore* ~/.config/containers/systemd/
- Edit the
booklore.containerto set the correct mounts forbookdropand your library - Create the Podman Secrets for the database
echo -n "YOUR PASSWORD" | podman secret create booklore_db_pass - - (Optional)
podman pull ghcr.io/booklore-app/booklore:latestto pre-pull the image
- If you have a slow connection, this is recommended because systemd will time out if the image pull takes too long.
- Run
systemctl --user daemon-reloadto pick up the new Quadlet unit. - Start the pod with
systemctl --user start booklore-pod.service
Autoupdates
If automatic updates are desired, enable the systemd timer:
systemctl --user enable podman-auto-update.timer
This is a native way to schedule podman auto-update to run periodically and update/restart containers with AutoUpdate enabled in their Quadlet files.
Verification Commands
systemctl --user status booklore-pod -l- Check the status of the podsystemctl --user status booklore-db -l- Check the status of the databasesystemctl --user status booklore -l- Check the status of the booklore container
Further Reading
- Podman Quadlets Documentation
- Bazzite Podamn Quadlet Examples
man podman-systemd.unit