mirror of
https://github.com/nextcloud/docker.git
synced 2025-08-01 02:58:05 +02:00
Compare commits
5 commits
6729cf6a7e
...
3d2fa230f5
Author | SHA1 | Date | |
---|---|---|---|
|
3d2fa230f5 | ||
|
30b570f0b5 | ||
|
2bc1036e61 | ||
|
a1e93f429c | ||
|
b6c983426c |
23 changed files with 19 additions and 27 deletions
|
@ -33,12 +33,13 @@ services:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: ./web
|
image: nginx:alpine
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8080:80
|
- 127.0.0.1:8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z,ro
|
- nextcloud:/var/www/html:z,ro
|
||||||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
FROM nginx:alpine
|
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
@ -28,12 +28,13 @@ services:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: ./web
|
image: nginx:alpine
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8080:80
|
- 127.0.0.1:8080:80
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z,ro
|
- nextcloud:/var/www/html:z,ro
|
||||||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
FROM nginx:alpine
|
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
@ -33,10 +33,11 @@ services:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: ./web
|
image: nginx:alpine
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z,ro
|
- nextcloud:/var/www/html:z,ro
|
||||||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
- LETSENCRYPT_HOST=
|
- LETSENCRYPT_HOST=
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
FROM nginx:alpine
|
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
@ -28,10 +28,11 @@ services:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
web:
|
web:
|
||||||
build: ./web
|
image: nginx:alpine
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z,ro
|
- nextcloud:/var/www/html:z,ro
|
||||||
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=
|
- VIRTUAL_HOST=
|
||||||
- LETSENCRYPT_HOST=
|
- LETSENCRYPT_HOST=
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
FROM nginx:alpine
|
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
@ -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
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
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
|
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"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
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
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
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
|
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"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
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
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
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
|
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"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
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
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
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
|
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"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
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
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
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
|
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"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
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
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
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
|
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"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
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
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
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
|
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"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
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
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
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
|
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"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
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
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
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
|
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"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
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
|
for cfgPath in /usr/src/nextcloud/config/*.php; do
|
||||||
cfgFile=$(basename "$cfgPath")
|
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
|
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"
|
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
|
||||||
stable_channel='29.0.6'
|
stable_channel='29.0.7'
|
||||||
|
|
||||||
self="$(basename "$BASH_SOURCE")"
|
self="$(basename "$BASH_SOURCE")"
|
||||||
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
|
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue