Compare commits

..

No commits in common. "master" and "v2025.9.2" have entirely different histories.

51 changed files with 83 additions and 128 deletions

View File

@ -5,7 +5,7 @@ on:
branches: branches:
- master - master
schedule: schedule:
- cron: '15 18 * * *' - cron: '15 0 * * *'
workflow_dispatch: workflow_dispatch:
jobs: jobs:

View File

@ -35,7 +35,6 @@ RUN set -ex; \
libicu-dev \ libicu-dev \
libjpeg-dev \ libjpeg-dev \
libldap2-dev \ libldap2-dev \
liblz4-dev \
libmagickwand-dev \ libmagickwand-dev \
libmemcached-dev \ libmemcached-dev \
libpng-dev \ libpng-dev \
@ -65,13 +64,13 @@ RUN set -ex; \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.28; \ pecl install APCu-5.1.27; \
pecl install igbinary-3.2.16; \ pecl install igbinary-3.2.16; \
pecl install imagick-3.8.1; \ pecl install imagick-3.8.0; \
pecl install --configureoptions 'enable-memcached-igbinary="yes"' \ pecl install memcached-3.3.0 \
memcached-3.4.0; \ --configureoptions 'enable-memcached-igbinary="yes"'; \
pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' \ pecl install redis-6.2.0 \
redis-6.3.0; \ --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
@ -150,7 +149,7 @@ RUN { \
} > /etc/apache2/conf-available/apache-limits.conf; \ } > /etc/apache2/conf-available/apache-limits.conf; \
a2enconf apache-limits a2enconf apache-limits
ENV NEXTCLOUD_VERSION 32.0.3 ENV NEXTCLOUD_VERSION 30.0.16
RUN set -ex; \ RUN set -ex; \
fetchDeps=" \ fetchDeps=" \
@ -160,8 +159,8 @@ RUN set -ex; \
apt-get update; \ apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \ apt-get install -y --no-install-recommends $fetchDeps; \
\ \
curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v32.0.3/nextcloud-32.0.3.tar.bz2"; \ curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-30.0.16.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v32.0.3/nextcloud-32.0.3.tar.bz2.asc"; \ curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-30.0.16.tar.bz2.asc"; \
export GNUPGHOME="$(mktemp -d)"; \ export GNUPGHOME="$(mktemp -d)"; \
# gpg key from https://nextcloud.com/nextcloud.asc # gpg key from https://nextcloud.com/nextcloud.asc
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \

View File

@ -1,5 +1,5 @@
# DO NOT EDIT: created by update.sh from Dockerfile-alpine.template # DO NOT EDIT: created by update.sh from Dockerfile-alpine.template
FROM php:8.3-fpm-alpine3.23 FROM php:8.3-fpm-alpine3.22
# entrypoint.sh and cron.sh dependencies # entrypoint.sh and cron.sh dependencies
RUN set -ex; \ RUN set -ex; \
@ -61,13 +61,13 @@ RUN set -ex; \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.28; \ pecl install APCu-5.1.27; \
pecl install igbinary-3.2.16; \ pecl install igbinary-3.2.16; \
pecl install imagick-3.8.1; \ pecl install imagick-3.8.0; \
pecl install --configureoptions 'enable-memcached-igbinary="yes"' \ pecl install memcached-3.3.0 \
memcached-3.4.0; \ --configureoptions 'enable-memcached-igbinary="yes"'; \
pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' \ pecl install redis-6.2.0 \
redis-6.3.0; \ --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
@ -128,7 +128,7 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 32.0.3 ENV NEXTCLOUD_VERSION 30.0.16
RUN set -ex; \ RUN set -ex; \
apk add --no-cache --virtual .fetch-deps \ apk add --no-cache --virtual .fetch-deps \
@ -136,8 +136,8 @@ RUN set -ex; \
gnupg \ gnupg \
; \ ; \
\ \
curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v32.0.3/nextcloud-32.0.3.tar.bz2"; \ curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-30.0.16.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v32.0.3/nextcloud-32.0.3.tar.bz2.asc"; \ curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-30.0.16.tar.bz2.asc"; \
export GNUPGHOME="$(mktemp -d)"; \ export GNUPGHOME="$(mktemp -d)"; \
# gpg key from https://nextcloud.com/nextcloud.asc # gpg key from https://nextcloud.com/nextcloud.asc
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \

View File

@ -35,7 +35,6 @@ RUN set -ex; \
libicu-dev \ libicu-dev \
libjpeg-dev \ libjpeg-dev \
libldap2-dev \ libldap2-dev \
liblz4-dev \
libmagickwand-dev \ libmagickwand-dev \
libmemcached-dev \ libmemcached-dev \
libpng-dev \ libpng-dev \
@ -65,13 +64,13 @@ RUN set -ex; \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.28; \ pecl install APCu-5.1.27; \
pecl install igbinary-3.2.16; \ pecl install igbinary-3.2.16; \
pecl install imagick-3.8.1; \ pecl install imagick-3.8.0; \
pecl install --configureoptions 'enable-memcached-igbinary="yes"' \ pecl install memcached-3.3.0 \
memcached-3.4.0; \ --configureoptions 'enable-memcached-igbinary="yes"'; \
pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' \ pecl install redis-6.2.0 \
redis-6.3.0; \ --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
@ -135,7 +134,7 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 32.0.3 ENV NEXTCLOUD_VERSION 30.0.16
RUN set -ex; \ RUN set -ex; \
fetchDeps=" \ fetchDeps=" \
@ -145,8 +144,8 @@ RUN set -ex; \
apt-get update; \ apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \ apt-get install -y --no-install-recommends $fetchDeps; \
\ \
curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v32.0.3/nextcloud-32.0.3.tar.bz2"; \ curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-30.0.16.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v32.0.3/nextcloud-32.0.3.tar.bz2.asc"; \ curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-30.0.16.tar.bz2.asc"; \
export GNUPGHOME="$(mktemp -d)"; \ export GNUPGHOME="$(mktemp -d)"; \
# gpg key from https://nextcloud.com/nextcloud.asc # gpg key from https://nextcloud.com/nextcloud.asc
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \

View File

@ -35,7 +35,6 @@ RUN set -ex; \
libicu-dev \ libicu-dev \
libjpeg-dev \ libjpeg-dev \
libldap2-dev \ libldap2-dev \
liblz4-dev \
libmagickwand-dev \ libmagickwand-dev \
libmemcached-dev \ libmemcached-dev \
libpng-dev \ libpng-dev \
@ -65,13 +64,13 @@ RUN set -ex; \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.28; \ pecl install APCu-5.1.27; \
pecl install igbinary-3.2.16; \ pecl install igbinary-3.2.16; \
pecl install imagick-3.8.1; \ pecl install imagick-3.8.0; \
pecl install --configureoptions 'enable-memcached-igbinary="yes"' \ pecl install memcached-3.3.0 \
memcached-3.4.0; \ --configureoptions 'enable-memcached-igbinary="yes"'; \
pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' \ pecl install redis-6.2.0 \
redis-6.3.0; \ --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
@ -150,7 +149,7 @@ RUN { \
} > /etc/apache2/conf-available/apache-limits.conf; \ } > /etc/apache2/conf-available/apache-limits.conf; \
a2enconf apache-limits a2enconf apache-limits
ENV NEXTCLOUD_VERSION 31.0.12 ENV NEXTCLOUD_VERSION 31.0.9
RUN set -ex; \ RUN set -ex; \
fetchDeps=" \ fetchDeps=" \
@ -160,8 +159,8 @@ RUN set -ex; \
apt-get update; \ apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \ apt-get install -y --no-install-recommends $fetchDeps; \
\ \
curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v31.0.12/nextcloud-31.0.12.tar.bz2"; \ curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-31.0.9.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v31.0.12/nextcloud-31.0.12.tar.bz2.asc"; \ curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-31.0.9.tar.bz2.asc"; \
export GNUPGHOME="$(mktemp -d)"; \ export GNUPGHOME="$(mktemp -d)"; \
# gpg key from https://nextcloud.com/nextcloud.asc # gpg key from https://nextcloud.com/nextcloud.asc
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \

View File

@ -1,5 +1,5 @@
# DO NOT EDIT: created by update.sh from Dockerfile-alpine.template # DO NOT EDIT: created by update.sh from Dockerfile-alpine.template
FROM php:8.3-fpm-alpine3.23 FROM php:8.3-fpm-alpine3.22
# entrypoint.sh and cron.sh dependencies # entrypoint.sh and cron.sh dependencies
RUN set -ex; \ RUN set -ex; \
@ -61,13 +61,13 @@ RUN set -ex; \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.28; \ pecl install APCu-5.1.27; \
pecl install igbinary-3.2.16; \ pecl install igbinary-3.2.16; \
pecl install imagick-3.8.1; \ pecl install imagick-3.8.0; \
pecl install --configureoptions 'enable-memcached-igbinary="yes"' \ pecl install memcached-3.3.0 \
memcached-3.4.0; \ --configureoptions 'enable-memcached-igbinary="yes"'; \
pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' \ pecl install redis-6.2.0 \
redis-6.3.0; \ --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
@ -128,7 +128,7 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 31.0.12 ENV NEXTCLOUD_VERSION 31.0.9
RUN set -ex; \ RUN set -ex; \
apk add --no-cache --virtual .fetch-deps \ apk add --no-cache --virtual .fetch-deps \
@ -136,8 +136,8 @@ RUN set -ex; \
gnupg \ gnupg \
; \ ; \
\ \
curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v31.0.12/nextcloud-31.0.12.tar.bz2"; \ curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-31.0.9.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v31.0.12/nextcloud-31.0.12.tar.bz2.asc"; \ curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-31.0.9.tar.bz2.asc"; \
export GNUPGHOME="$(mktemp -d)"; \ export GNUPGHOME="$(mktemp -d)"; \
# gpg key from https://nextcloud.com/nextcloud.asc # gpg key from https://nextcloud.com/nextcloud.asc
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \

View File

@ -35,7 +35,6 @@ RUN set -ex; \
libicu-dev \ libicu-dev \
libjpeg-dev \ libjpeg-dev \
libldap2-dev \ libldap2-dev \
liblz4-dev \
libmagickwand-dev \ libmagickwand-dev \
libmemcached-dev \ libmemcached-dev \
libpng-dev \ libpng-dev \
@ -65,13 +64,13 @@ RUN set -ex; \
; \ ; \
\ \
# pecl will claim success even if one install fails, so we need to perform each install separately # pecl will claim success even if one install fails, so we need to perform each install separately
pecl install APCu-5.1.28; \ pecl install APCu-5.1.27; \
pecl install igbinary-3.2.16; \ pecl install igbinary-3.2.16; \
pecl install imagick-3.8.1; \ pecl install imagick-3.8.0; \
pecl install --configureoptions 'enable-memcached-igbinary="yes"' \ pecl install memcached-3.3.0 \
memcached-3.4.0; \ --configureoptions 'enable-memcached-igbinary="yes"'; \
pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' \ pecl install redis-6.2.0 \
redis-6.3.0; \ --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \
@ -135,7 +134,7 @@ RUN { \
VOLUME /var/www/html VOLUME /var/www/html
ENV NEXTCLOUD_VERSION 31.0.12 ENV NEXTCLOUD_VERSION 31.0.9
RUN set -ex; \ RUN set -ex; \
fetchDeps=" \ fetchDeps=" \
@ -145,8 +144,8 @@ RUN set -ex; \
apt-get update; \ apt-get update; \
apt-get install -y --no-install-recommends $fetchDeps; \ apt-get install -y --no-install-recommends $fetchDeps; \
\ \
curl -fsSL -o nextcloud.tar.bz2 "https://github.com/nextcloud-releases/server/releases/download/v31.0.12/nextcloud-31.0.12.tar.bz2"; \ curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-31.0.9.tar.bz2"; \
curl -fsSL -o nextcloud.tar.bz2.asc "https://github.com/nextcloud-releases/server/releases/download/v31.0.12/nextcloud-31.0.12.tar.bz2.asc"; \ curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-31.0.9.tar.bz2.asc"; \
export GNUPGHOME="$(mktemp -d)"; \ export GNUPGHOME="$(mktemp -d)"; \
# gpg key from https://nextcloud.com/nextcloud.asc # gpg key from https://nextcloud.com/nextcloud.asc
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \ gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \

View File

@ -63,10 +63,10 @@ RUN set -ex; \
pecl install APCu-%%APCU_VERSION%%; \ pecl install APCu-%%APCU_VERSION%%; \
pecl install igbinary-%%IGBINARY_VERSION%%; \ pecl install igbinary-%%IGBINARY_VERSION%%; \
pecl install imagick-%%IMAGICK_VERSION%%; \ pecl install imagick-%%IMAGICK_VERSION%%; \
pecl install --configureoptions 'enable-memcached-igbinary="yes"' \ pecl install memcached-%%MEMCACHED_VERSION%% \
memcached-%%MEMCACHED_VERSION%%; \ --configureoptions 'enable-memcached-igbinary="yes"'; \
pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' \ pecl install redis-%%REDIS_VERSION%% \
redis-%%REDIS_VERSION%%; \ --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \

View File

@ -34,7 +34,6 @@ RUN set -ex; \
libicu-dev \ libicu-dev \
libjpeg-dev \ libjpeg-dev \
libldap2-dev \ libldap2-dev \
liblz4-dev \
libmagickwand-dev \ libmagickwand-dev \
libmemcached-dev \ libmemcached-dev \
libpng-dev \ libpng-dev \
@ -67,10 +66,10 @@ RUN set -ex; \
pecl install APCu-%%APCU_VERSION%%; \ pecl install APCu-%%APCU_VERSION%%; \
pecl install igbinary-%%IGBINARY_VERSION%%; \ pecl install igbinary-%%IGBINARY_VERSION%%; \
pecl install imagick-%%IMAGICK_VERSION%%; \ pecl install imagick-%%IMAGICK_VERSION%%; \
pecl install --configureoptions 'enable-memcached-igbinary="yes"' \ pecl install memcached-%%MEMCACHED_VERSION%% \
memcached-%%MEMCACHED_VERSION%%; \ --configureoptions 'enable-memcached-igbinary="yes"'; \
pecl install --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"' \ pecl install redis-%%REDIS_VERSION%% \
redis-%%REDIS_VERSION%%; \ --configureoptions 'enable-redis-igbinary="yes" enable-redis-zstd="yes" enable-redis-lz4="yes"'; \
\ \
docker-php-ext-enable \ docker-php-ext-enable \
apcu \ apcu \

View File

@ -15,46 +15,6 @@ A safe home for all your data. Access & share your files, calendars, contacts, m
⚠️⚠️⚠️ This image is maintained by community volunteers and designed for expert use. For quick and easy deployment that supports the full set of Nextcloud Hub features, use the [Nextcloud All-in-One docker container](https://github.com/nextcloud/all-in-one#nextcloud-all-in-one) maintained by Nextcloud GmbH. ⚠️⚠️⚠️ This image is maintained by community volunteers and designed for expert use. For quick and easy deployment that supports the full set of Nextcloud Hub features, use the [Nextcloud All-in-One docker container](https://github.com/nextcloud/all-in-one#nextcloud-all-in-one) maintained by Nextcloud GmbH.
## Table of Contents
- [What is Nextcloud?](#what-is-nextcloud)
- [How to use this image](#how-to-use-this-image)
- [Getting help](#getting-help)
- [Using the apache image](#using-the-apache-image)
- [Using the fpm image](#using-the-fpm-image)
- [Using an external database](#using-an-external-database)
- [Persistent data](#persistent-data)
- [Additional volumes](#additional-volumes)
- [Custom volumes](#custom-volumes)
- [Running as an arbitrary user / file permissions / changing the default container user](#running-as-an-arbitrary-user--file-permissions--changing-the-default-container-user)
- [Accessing the Nextcloud command-line interface (`occ`)](#accessing-the-nextcloud-command-line-interface-occ)
- [Viewing the Nextcloud configuration (`config.php`)](#viewing-the-nextcloud-configuration-configphp)
- [Auto configuration via environment variables](#auto-configuration-via-environment-variables)
- [Database parameters](#database-parameters)
- [Initial admin account](#initial-admin-account)
- [Custom Data directory (`datadirectory`)](#custom-data-directory-datadirectory)
- [Trusted domains (`trusted_domains`)](#trusted-domains-trusted_domains)
- [Image specific](#image-specific)
- [Redis Memory Caching](#redis-memory-caching)
- [E-mail (SMTP) Configuration](#e-mail-smtp-configuration)
- [Object Storage (Primary Storage)](#object-storage-primary-storage)
- [PHP Configuration](#php-configuration)
- [Apache Configuration](#apache-configuration)
- [Using the image behind a reverse proxy and specifying the server host and protocol](#using-the-image-behind-a-reverse-proxy-and-specifying-the-server-host-and-protocol)
- [Handling `Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile` (aka: Auto configuration and Nextcloud updates)](#handling-warning-varwwwhtmlconfigcfgfile-differs-from-the-latest-version-of-this-image-at-usrsrcnextcloudconfigcfgfile-aka-auto-configuration-and-nextcloud-updates)
- [Auto configuration via hook folders](#auto-configuration-via-hook-folders)
- [Running this image with `docker compose`](#running-this-image-with-docker-compose)
- [Base version - apache](#base-version---apache)
- [Base version - FPM](#base-version---fpm)
- [Docker Secrets](#docker-secrets)
- [Make your Nextcloud available from the internet](#make-your-nextcloud-available-from-the-internet)
- [HTTPS - SSL encryption](#https---ssl-encryption)
- [First use](#first-use)
- [Update to a newer version](#update-to-a-newer-version)
- [Adding Features](#adding-features)
- [Migrating an existing installation](#migrating-an-existing-installation)
- [Migrating from a non-Alpine image to an Alpine image](#migrating-from-a-non-alpine-image-to-an-alpine-image)
- [Reporting bugs or suggesting enhancements](#reporting-bugs-or-suggesting-enhancements)
# How to use this image # How to use this image
This image is designed to be used in a micro-service environment. There are two versions of the image you can choose from. This image is designed to be used in a micro-service environment. There are two versions of the image you can choose from.

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -Eeuo pipefail set -Eeuo pipefail
stable_channel='31.0.12' stable_channel='31.0.9'
self="$(basename "$BASH_SOURCE")" self="$(basename "$BASH_SOURCE")"
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"

View File

@ -1 +1 @@
32.0.3 31.0.9

View File

@ -2,7 +2,7 @@
set -eo pipefail set -eo pipefail
declare -A alpine_version=( declare -A alpine_version=(
[default]='3.23' [default]='3.22'
) )
declare -A debian_version=( declare -A debian_version=(
@ -94,7 +94,7 @@ variants=(
fpm-alpine fpm-alpine
) )
min_version='31' min_version='30'
# version_greater_or_equal A B returns whether A >= B # version_greater_or_equal A B returns whether A >= B
function version_greater_or_equal() { function version_greater_or_equal() {
@ -107,8 +107,8 @@ function create_variant() {
debianVersion=${debian_version[$version]-${debian_version[default]}} debianVersion=${debian_version[$version]-${debian_version[default]}}
phpVersion=${php_version[$version]-${php_version[default]}} phpVersion=${php_version[$version]-${php_version[default]}}
crontabInt=${crontab_int[$version]-${crontab_int[default]}} crontabInt=${crontab_int[$version]-${crontab_int[default]}}
url="https://github.com/nextcloud-releases/server/releases/download/v$fullversion/nextcloud-$fullversion.tar.bz2" url="https://download.nextcloud.com/server/releases/nextcloud-$fullversion.tar.bz2"
ascUrl="https://github.com/nextcloud-releases/server/releases/download/v$fullversion/nextcloud-$fullversion.tar.bz2.asc" ascUrl="https://download.nextcloud.com/server/releases/nextcloud-$fullversion.tar.bz2.asc"
# Create the version+variant directory with a Dockerfile. # Create the version+variant directory with a Dockerfile.
mkdir -p "$dir" mkdir -p "$dir"

View File

@ -1,35 +1,9 @@
{ {
"32": {
"branch": "32",
"version": "32.0.3",
"url": "https://github.com/nextcloud-releases/server/releases/download/v32.0.3/nextcloud-32.0.3.tar.bz2",
"ascUrl": "https://github.com/nextcloud-releases/server/releases/download/v32.0.3/nextcloud-32.0.3.tar.bz2.asc",
"variants": {
"apache": {
"variant": "apache",
"base": "debian",
"baseVersion": "trixie",
"phpVersion": "8.3"
},
"fpm": {
"variant": "fpm",
"base": "debian",
"baseVersion": "trixie",
"phpVersion": "8.3"
},
"fpm-alpine": {
"variant": "fpm-alpine",
"base": "alpine",
"baseVersion": "3.23",
"phpVersion": "8.3"
}
}
},
"31": { "31": {
"branch": "31", "branch": "31",
"version": "31.0.12", "version": "31.0.9",
"url": "https://github.com/nextcloud-releases/server/releases/download/v31.0.12/nextcloud-31.0.12.tar.bz2", "url": "https://download.nextcloud.com/server/releases/nextcloud-31.0.9.tar.bz2",
"ascUrl": "https://github.com/nextcloud-releases/server/releases/download/v31.0.12/nextcloud-31.0.12.tar.bz2.asc", "ascUrl": "https://download.nextcloud.com/server/releases/nextcloud-31.0.9.tar.bz2.asc",
"variants": { "variants": {
"apache": { "apache": {
"variant": "apache", "variant": "apache",
@ -46,7 +20,33 @@
"fpm-alpine": { "fpm-alpine": {
"variant": "fpm-alpine", "variant": "fpm-alpine",
"base": "alpine", "base": "alpine",
"baseVersion": "3.23", "baseVersion": "3.22",
"phpVersion": "8.3"
}
}
},
"30": {
"branch": "30",
"version": "30.0.16",
"url": "https://download.nextcloud.com/server/releases/nextcloud-30.0.16.tar.bz2",
"ascUrl": "https://download.nextcloud.com/server/releases/nextcloud-30.0.16.tar.bz2.asc",
"variants": {
"apache": {
"variant": "apache",
"base": "debian",
"baseVersion": "trixie",
"phpVersion": "8.3"
},
"fpm": {
"variant": "fpm",
"base": "debian",
"baseVersion": "trixie",
"phpVersion": "8.3"
},
"fpm-alpine": {
"variant": "fpm-alpine",
"base": "alpine",
"baseVersion": "3.22",
"phpVersion": "8.3" "phpVersion": "8.3"
} }
} }