a249b65749
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/linuxserver/piwigo](https://redirect.github.com/linuxserver/docker-piwigo/packages) ([source](https://redirect.github.com/linuxserver/docker-piwigo)) | digest | `9437407` → `b69331c` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/18710) for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMzAuMSIsInVwZGF0ZWRJblZlciI6IjQzLjEzMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImFwcC9waXdpZ28iLCJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL2RpZ2VzdCJdfQ==-->
58 lines
2.0 KiB
YAML
58 lines
2.0 KiB
YAML
# yaml-language-server: $schema=./values.schema.json
|
|
image:
|
|
repository: ghcr.io/linuxserver/piwigo
|
|
pullPolicy: IfNotPresent
|
|
tag: 16.4.0@sha256:b69331c235ba072fdd184e91b2a490961328462f5c111f5d20424c9712dbe617
|
|
securityContext:
|
|
container:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
targetPort: 80
|
|
port: 10027
|
|
piwigo:
|
|
language: en_US
|
|
admin_user: admin
|
|
admin_pass: admin123
|
|
admin_email: admin@email.com
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
lifecycle:
|
|
postStart:
|
|
type: exec
|
|
command:
|
|
- /bin/sh
|
|
- -c
|
|
- |
|
|
if [ -f "/config/POSTSETUP" ]; then
|
|
echo "POSTSETUP exists, no further action is needed."
|
|
else
|
|
while ! curl -s -o -v /dev/null http://localhost/install.php; do sleep 1; done && \
|
|
curl -v -X POST -d "language={{ .Values.piwigo.language }}&dbhost={{ .Values.mariadb.creds.plainhost | trimAll "\"" }}:3306&dbuser={{ .Values.mariadb.mariadbUsername }}&dbpasswd={{ .Values.mariadb.creds.mariadbPassword | trimAll "\"" }}&dbname={{ .Values.mariadb.mariadbDatabase }}&prefix=piwigo_&admin_name={{ .Values.piwigo.admin_user }}&admin_pass1={{ .Values.piwigo.admin_pass }}&admin_pass2={{ .Values.piwigo.admin_pass }}&admin_mail={{ .Values.piwigo.admin_email }}&install=Start+installation" http://localhost/install.php?language={{ .Values.piwigo.language }} && \
|
|
( touch "/config/POSTSETUP" && echo "Created POSTSETUP!") || \
|
|
( echo "Failed to create POSTSETUP file..." && exit 1 )
|
|
fi
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: /config
|
|
size: 256Gi
|
|
gallery:
|
|
enabled: true
|
|
mountPath: /gallery
|
|
size: 256Gi
|
|
varrun:
|
|
enabled: true
|
|
mariadb:
|
|
enabled: true
|
|
mariadbUsername: piwigo
|
|
mariadbDatabase: piwigo
|