mirror of
https://github.com/nextcloud/docker.git
synced 2025-07-30 10:18:05 +02:00
Compare commits
6 commits
39680b7625
...
fdcb67998e
Author | SHA1 | Date | |
---|---|---|---|
|
fdcb67998e | ||
|
f6d767efb1 | ||
|
30b570f0b5 | ||
|
2bc1036e61 | ||
|
a1e93f429c | ||
|
0bb3a0417f |
36 changed files with 60 additions and 20 deletions
|
@ -17,6 +17,9 @@ services:
|
|||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
command: /bin/sh -c "redis-server --requirepass $$REDIS_HOST_PASSWORD"
|
||||
env_file:
|
||||
- redis.env
|
||||
|
||||
app:
|
||||
image: nextcloud:apache
|
||||
|
@ -30,6 +33,7 @@ services:
|
|||
- REDIS_HOST=redis
|
||||
env_file:
|
||||
- db.env
|
||||
- redis.env
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
REDIS_HOST_PASSWORD=
|
|
@ -17,6 +17,9 @@ services:
|
|||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
command: /bin/sh -c "redis-server --requirepass $$REDIS_HOST_PASSWORD"
|
||||
env_file:
|
||||
- redis.env
|
||||
|
||||
app:
|
||||
image: nextcloud:fpm-alpine
|
||||
|
@ -28,6 +31,7 @@ services:
|
|||
- REDIS_HOST=redis
|
||||
env_file:
|
||||
- db.env
|
||||
- redis.env
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
|
1
.examples/docker-compose/insecure/mariadb/fpm/redis.env
Normal file
1
.examples/docker-compose/insecure/mariadb/fpm/redis.env
Normal file
|
@ -0,0 +1 @@
|
|||
REDIS_HOST_PASSWORD=
|
|
@ -12,6 +12,9 @@ services:
|
|||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
command: /bin/sh -c "redis-server --requirepass $$REDIS_HOST_PASSWORD"
|
||||
env_file:
|
||||
- redis.env
|
||||
|
||||
app:
|
||||
image: nextcloud:apache
|
||||
|
@ -25,6 +28,7 @@ services:
|
|||
- REDIS_HOST=redis
|
||||
env_file:
|
||||
- db.env
|
||||
- redis.env
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
REDIS_HOST_PASSWORD=
|
|
@ -12,6 +12,9 @@ services:
|
|||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
command: /bin/sh -c "redis-server --requirepass $$REDIS_HOST_PASSWORD"
|
||||
env_file:
|
||||
- redis.env
|
||||
|
||||
app:
|
||||
image: nextcloud:fpm-alpine
|
||||
|
@ -23,6 +26,7 @@ services:
|
|||
- REDIS_HOST=redis
|
||||
env_file:
|
||||
- db.env
|
||||
- redis.env
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
|
1
.examples/docker-compose/insecure/postgres/fpm/redis.env
Normal file
1
.examples/docker-compose/insecure/postgres/fpm/redis.env
Normal file
|
@ -0,0 +1 @@
|
|||
REDIS_HOST_PASSWORD=
|
|
@ -17,6 +17,9 @@ services:
|
|||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
command: /bin/sh -c "redis-server --requirepass $$REDIS_HOST_PASSWORD"
|
||||
env_file:
|
||||
- redis.env
|
||||
|
||||
app:
|
||||
image: nextcloud:apache
|
||||
|
@ -31,6 +34,7 @@ services:
|
|||
- REDIS_HOST=redis
|
||||
env_file:
|
||||
- db.env
|
||||
redis.env
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
REDIS_HOST_PASSWORD=
|
|
@ -17,6 +17,9 @@ services:
|
|||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
command: /bin/sh -c "redis-server --requirepass $$REDIS_HOST_PASSWORD"
|
||||
env_file:
|
||||
- redis.env
|
||||
|
||||
app:
|
||||
image: nextcloud:fpm-alpine
|
||||
|
@ -28,6 +31,7 @@ services:
|
|||
- REDIS_HOST=redis
|
||||
env_file:
|
||||
- db.env
|
||||
- redis.env
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
REDIS_HOST_PASSWORD=
|
|
@ -12,6 +12,9 @@ services:
|
|||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
command: /bin/sh -c "redis-server --requirepass $$REDIS_HOST_PASSWORD"
|
||||
env_file:
|
||||
- redis.env
|
||||
|
||||
app:
|
||||
image: nextcloud:apache
|
||||
|
@ -26,6 +29,7 @@ services:
|
|||
- REDIS_HOST=redis
|
||||
env_file:
|
||||
- db.env
|
||||
- redis.env
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
REDIS_HOST_PASSWORD=
|
|
@ -12,6 +12,9 @@ services:
|
|||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
command: /bin/sh -c "redis-server --requirepass $$REDIS_HOST_PASSWORD"
|
||||
env_file:
|
||||
- redis.env
|
||||
|
||||
app:
|
||||
image: nextcloud:fpm-alpine
|
||||
|
@ -23,6 +26,7 @@ services:
|
|||
- REDIS_HOST=redis
|
||||
env_file:
|
||||
- db.env
|
||||
- redis.env
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
REDIS_HOST_PASSWORD=
|
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
|||
; \
|
||||
\
|
||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||
pecl install APCu-5.1.23; \
|
||||
pecl install APCu-5.1.24; \
|
||||
pecl install imagick-3.7.0; \
|
||||
pecl install memcached-3.2.0; \
|
||||
pecl install redis-6.0.2; \
|
||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
|||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||
cfgFile=$(basename "$cfgPath")
|
||||
|
||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
||||
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||
fi
|
||||
|
|
|
@ -63,7 +63,7 @@ RUN set -ex; \
|
|||
; \
|
||||
\
|
||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||
pecl install APCu-5.1.23; \
|
||||
pecl install APCu-5.1.24; \
|
||||
pecl install imagick-3.7.0; \
|
||||
pecl install memcached-3.2.0; \
|
||||
pecl install redis-6.0.2; \
|
||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
|||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||
cfgFile=$(basename "$cfgPath")
|
||||
|
||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
||||
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||
fi
|
||||
|
|
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
|||
; \
|
||||
\
|
||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||
pecl install APCu-5.1.23; \
|
||||
pecl install APCu-5.1.24; \
|
||||
pecl install imagick-3.7.0; \
|
||||
pecl install memcached-3.2.0; \
|
||||
pecl install redis-6.0.2; \
|
||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
|||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||
cfgFile=$(basename "$cfgPath")
|
||||
|
||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
||||
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||
fi
|
||||
|
|
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
|||
; \
|
||||
\
|
||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||
pecl install APCu-5.1.23; \
|
||||
pecl install APCu-5.1.24; \
|
||||
pecl install imagick-3.7.0; \
|
||||
pecl install memcached-3.2.0; \
|
||||
pecl install redis-6.0.2; \
|
||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
|||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||
cfgFile=$(basename "$cfgPath")
|
||||
|
||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
||||
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||
fi
|
||||
|
|
|
@ -63,7 +63,7 @@ RUN set -ex; \
|
|||
; \
|
||||
\
|
||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||
pecl install APCu-5.1.23; \
|
||||
pecl install APCu-5.1.24; \
|
||||
pecl install imagick-3.7.0; \
|
||||
pecl install memcached-3.2.0; \
|
||||
pecl install redis-6.0.2; \
|
||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
|||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||
cfgFile=$(basename "$cfgPath")
|
||||
|
||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
||||
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||
fi
|
||||
|
|
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
|||
; \
|
||||
\
|
||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||
pecl install APCu-5.1.23; \
|
||||
pecl install APCu-5.1.24; \
|
||||
pecl install imagick-3.7.0; \
|
||||
pecl install memcached-3.2.0; \
|
||||
pecl install redis-6.0.2; \
|
||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
|||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||
cfgFile=$(basename "$cfgPath")
|
||||
|
||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
||||
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||
fi
|
||||
|
|
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
|||
; \
|
||||
\
|
||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||
pecl install APCu-5.1.23; \
|
||||
pecl install APCu-5.1.24; \
|
||||
pecl install imagick-3.7.0; \
|
||||
pecl install memcached-3.2.0; \
|
||||
pecl install redis-6.0.2; \
|
||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
|||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||
cfgFile=$(basename "$cfgPath")
|
||||
|
||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
||||
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||
fi
|
||||
|
|
|
@ -63,7 +63,7 @@ RUN set -ex; \
|
|||
; \
|
||||
\
|
||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||
pecl install APCu-5.1.23; \
|
||||
pecl install APCu-5.1.24; \
|
||||
pecl install imagick-3.7.0; \
|
||||
pecl install memcached-3.2.0; \
|
||||
pecl install redis-6.0.2; \
|
||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
|||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||
cfgFile=$(basename "$cfgPath")
|
||||
|
||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
||||
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||
fi
|
||||
|
|
|
@ -65,7 +65,7 @@ RUN set -ex; \
|
|||
; \
|
||||
\
|
||||
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||
pecl install APCu-5.1.23; \
|
||||
pecl install APCu-5.1.24; \
|
||||
pecl install imagick-3.7.0; \
|
||||
pecl install memcached-3.2.0; \
|
||||
pecl install redis-6.0.2; \
|
||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
|||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||
cfgFile=$(basename "$cfgPath")
|
||||
|
||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
||||
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||
fi
|
||||
|
|
|
@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
|||
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||
cfgFile=$(basename "$cfgPath")
|
||||
|
||||
if [ "$cfgFile" != "config.sample.php" ]; then
|
||||
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
|
||||
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
|
||||
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||
fi
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
stable_channel='29.0.6'
|
||||
stable_channel='29.0.7'
|
||||
|
||||
self="$(basename "$BASH_SOURCE")"
|
||||
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue