Draft
Conversation
l-2-j
reviewed
Apr 14, 2026
l-2-j
left a comment
There was a problem hiding this comment.
I am currently running Piwigo via podman quadlets, so thought I'd review and see how this is different to my setup, and drop a few parts from my setup as suggestions in case they'd turn out to be useful.
For example, a piwigo.pod allows for easier management of all the containers with systemd as the piwigo-pod unit:
[Pod]
[Install]
# Uncomment to enable the service by default
#WantedBy=default.target
| @@ -0,0 +1,2 @@ | |||
| # Piwigo Network | |||
| [Network] No newline at end of file | |||
There was a problem hiding this comment.
Suggested change
| [Network] | |
| [Network] | |
| Description=Piwigo network | |
| After=podman-user-wait-network-online.service |
| Image=docker.io/library/mariadb:lts | ||
| Network=piwigo.network | ||
| Volume=./piwigo-data/mysql:/var/lib/mysql:z | ||
|
|
There was a problem hiding this comment.
Suggested change
| Pod=piwigo.pod | |
| HealthCmd=healthcheck.sh --connect --innodb_initialized | |
| HealthInterval=30s | |
| HealthRetries=2 | |
| HealthTimeout=10s | |
| HealthOnFailure=kill | |
| # Uncomment for automatic updates | |
| #AutoUpdate=registry |
| Network=piwigo.network | ||
| PublishPort=8080:80 | ||
| Volume=./piwigo-data/piwigo:/var/www/html/piwigo:z | ||
| Volume=./piwigo-data/scripts:/usr/local/bin/scripts:z |
There was a problem hiding this comment.
Suggested change
| Volume=./piwigo-data/scripts:/usr/local/bin/scripts:z | |
| # Remove `127.0.0.1:` if you want piwigo publicly exposed on all interfaces, | |
| # and/or change `8080` to the host port you want to use. | |
| PublishPort=127.0.0.1:8080:80 | |
| Volume=./piwigo-data/piwigo:/var/www/html/piwigo:z | |
| Volume=./piwigo-data/scripts:/usr/local/bin/scripts:z | |
| # Set the timezone and run as unprivileged user | |
| Environment=TZ=... PUID=1000 PGID=1000 | |
| Pod=piwigo.pod | |
| HealthCmd=wget -nv --tries=1 --spider http://127.0.0.1/ws.php?method=pwg.session.getStatus || exit 1 | |
| HealthInterval=30s | |
| HealthRetries=2 | |
| HealthTimeout=10s | |
| HealthOnFailure=kill | |
| # Uncomment for automatic updates | |
| #AutoUpdate=registry |
Collaborator
Author
|
Hi, I can't review this right now but I'm really thankful for your contribution. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding support for podman quadlets ( systemd managed podman containers ).
Ideally we should support rootless containers.
.containerfiles to match thecompose.yml.volumeis a good idea