mirror of
https://github.com/linuxserver/docker-piwigo.git
synced 2025-04-24 05:07:05 -04:00
commit
e2511ca8f0
6 changed files with 16 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.19
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.20
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
|
@ -35,7 +35,7 @@ RUN \
|
|||
poppler-utils \
|
||||
re2c && \
|
||||
echo "**** modify php-fpm process limits ****" && \
|
||||
sed -i 's/pm.max_children = 5/pm.max_children = 32/' /etc/php83/php-fpm.d/www.conf && \
|
||||
sed -i 's/pm.max_children = 5/pm.max_children = 32/' /etc/php83/php-fpm.d/www.conf && \
|
||||
echo "**** download piwigo ****" && \
|
||||
if [ -z ${PIWIGO_RELEASE+x} ]; then \
|
||||
PIWIGO_RELEASE=$(curl -sX GET "https://api.github.com/repos/Piwigo/Piwigo/releases/latest" \
|
||||
|
@ -47,6 +47,7 @@ RUN \
|
|||
"https://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
|
||||
unzip -q /tmp/piwigo.zip -d /tmp && \
|
||||
mv /tmp/piwigo/* /app/www/public && \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
@ -56,4 +57,5 @@ COPY root/ /
|
|||
|
||||
# ports and volumes
|
||||
EXPOSE 80 443
|
||||
|
||||
VOLUME /config /gallery
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.19
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.20
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
|
@ -35,7 +35,7 @@ RUN \
|
|||
poppler-utils \
|
||||
re2c && \
|
||||
echo "**** modify php-fpm process limits ****" && \
|
||||
sed -i 's/pm.max_children = 5/pm.max_children = 32/' /etc/php83/php-fpm.d/www.conf && \
|
||||
sed -i 's/pm.max_children = 5/pm.max_children = 32/' /etc/php83/php-fpm.d/www.conf && \
|
||||
echo "**** download piwigo ****" && \
|
||||
if [ -z ${PIWIGO_RELEASE+x} ]; then \
|
||||
PIWIGO_RELEASE=$(curl -sX GET "https://api.github.com/repos/Piwigo/Piwigo/releases/latest" \
|
||||
|
@ -47,6 +47,7 @@ RUN \
|
|||
"https://piwigo.org/download/dlcounter.php?code=${PIWIGO_RELEASE}" && \
|
||||
unzip -q /tmp/piwigo.zip -d /tmp && \
|
||||
mv /tmp/piwigo/* /app/www/public && \
|
||||
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
@ -56,4 +57,5 @@ COPY root/ /
|
|||
|
||||
# ports and volumes
|
||||
EXPOSE 80 443
|
||||
|
||||
VOLUME /config /gallery
|
||||
|
|
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -33,9 +33,9 @@ pipeline {
|
|||
CI_WEB='true'
|
||||
CI_PORT='80'
|
||||
CI_SSL='false'
|
||||
CI_DELAY='120'
|
||||
CI_DOCKERENV='TZ=US/Pacific'
|
||||
CI_AUTH='user:password'
|
||||
CI_DELAY='60'
|
||||
CI_DOCKERENV=''
|
||||
CI_AUTH=''
|
||||
CI_WEBPATH=''
|
||||
}
|
||||
stages {
|
||||
|
|
|
@ -278,6 +278,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
|||
|
||||
## Versions
|
||||
|
||||
* **31.05.24:** - Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings.
|
||||
* **07.04.24:** - Increase php workers to fix Android uploading in bulk
|
||||
* **02.03.24:** - Fix HEIC file format support.
|
||||
* **23.12.23:** - Rebase to Alpine 3.19 with php 8.3.
|
||||
|
|
|
@ -6,7 +6,6 @@ external_type: github_stable
|
|||
release_type: stable
|
||||
release_tag: latest
|
||||
ls_branch: master
|
||||
build_armhf: false
|
||||
repo_vars:
|
||||
- EXT_GIT_BRANCH = 'master'
|
||||
- EXT_USER = 'Piwigo'
|
||||
|
@ -24,7 +23,7 @@ repo_vars:
|
|||
- CI_WEB='true'
|
||||
- CI_PORT='80'
|
||||
- CI_SSL='false'
|
||||
- CI_DELAY='120'
|
||||
- CI_DOCKERENV='TZ=US/Pacific'
|
||||
- CI_AUTH='user:password'
|
||||
- CI_DELAY='60'
|
||||
- CI_DOCKERENV=''
|
||||
- CI_AUTH=''
|
||||
- CI_WEBPATH=''
|
||||
|
|
|
@ -15,9 +15,6 @@ available_architectures:
|
|||
# container parameters
|
||||
common_param_env_vars_enabled: true #PGID, PUID, etc, you can set it to 'optional'
|
||||
param_container_name: "{{ project_name }}"
|
||||
param_usage_include_env: true
|
||||
param_env_vars:
|
||||
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
|
||||
param_usage_include_vols: true
|
||||
param_volumes:
|
||||
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files" }
|
||||
|
@ -37,6 +34,7 @@ app_setup_block: |
|
|||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "31.05.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}
|
||||
- { date: "07.04.24:", desc: "Increase php workers to fix Android uploading in bulk"}
|
||||
- { date: "02.03.24:", desc: "Fix HEIC file format support."}
|
||||
- { date: "23.12.23:", desc: "Rebase to Alpine 3.19 with php 8.3."}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue