Skip to content

Commit a823945

Browse files
authored
Merge branch 'nextcloud:master' into volume-clarification
2 parents daea70d + dd663d6 commit a823945

31 files changed

Lines changed: 111 additions & 69 deletions

File tree

.config/s3.config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
'port' => getenv('OBJECTSTORE_S3_PORT') ?: '',
1515
'storageClass' => getenv('OBJECTSTORE_S3_STORAGE_CLASS') ?: '',
1616
'objectPrefix' => getenv("OBJECTSTORE_S3_OBJECT_PREFIX") ? getenv("OBJECTSTORE_S3_OBJECT_PREFIX") : "urn:oid:",
17-
'autocreate' => (strtolower($autocreate) === 'false' || $autocreate == false) ? false : true,
18-
'use_ssl' => (strtolower($use_ssl) === 'false' || $use_ssl == false) ? false : true,
17+
'autocreate' => strtolower($autocreate) !== 'false',
18+
'use_ssl' => strtolower($use_ssl) !== 'false',
1919
// required for some non Amazon S3 implementations
2020
'use_path_style' => $use_path == true && strtolower($use_path) !== 'false',
2121
// required for older protocol versions

.examples/docker-compose/insecure/mariadb/apache/compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ services:
2323
- 127.0.0.1:8080:80
2424
volumes:
2525
- nextcloud:/var/www/html:z
26+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
2627
environment:
2728
- MYSQL_HOST=db
2829
- REDIS_HOST=redis
@@ -37,6 +38,7 @@ services:
3738
restart: always
3839
volumes:
3940
- nextcloud:/var/www/html:z
41+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
4042
entrypoint: /cron.sh
4143
depends_on:
4244
- db

.examples/docker-compose/insecure/mariadb/fpm/compose.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ services:
2121
restart: always
2222
volumes:
2323
- nextcloud:/var/www/html:z
24+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
2425
environment:
2526
- MYSQL_HOST=db
2627
- REDIS_HOST=redis
@@ -37,6 +38,7 @@ services:
3738
- 127.0.0.1:8080:80
3839
volumes:
3940
- nextcloud:/var/www/html:z,ro
41+
# NOTE: The `volumes` included here should match those of the `app` container (unless you know what you're doing)
4042
depends_on:
4143
- app
4244

@@ -45,6 +47,7 @@ services:
4547
restart: always
4648
volumes:
4749
- nextcloud:/var/www/html:z
50+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
4851
entrypoint: /cron.sh
4952
depends_on:
5053
- db

.examples/docker-compose/insecure/postgres/apache/compose.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ services:
1818
- 127.0.0.1:8080:80
1919
volumes:
2020
- nextcloud:/var/www/html:z
21+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
2122
environment:
2223
- POSTGRES_HOST=db
2324
- REDIS_HOST=redis
@@ -32,11 +33,12 @@ services:
3233
restart: always
3334
volumes:
3435
- nextcloud:/var/www/html:z
36+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
3537
entrypoint: /cron.sh
3638
depends_on:
3739
- db
3840
- redis
3941

4042
volumes:
4143
db:
42-
nextcloud:
44+
nextcloud:

.examples/docker-compose/insecure/postgres/fpm/compose.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ services:
1616
restart: always
1717
volumes:
1818
- nextcloud:/var/www/html:z
19+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
1920
environment:
2021
- POSTGRES_HOST=db
2122
- REDIS_HOST=redis
@@ -32,6 +33,7 @@ services:
3233
- 127.0.0.1:8080:80
3334
volumes:
3435
- nextcloud:/var/www/html:z,ro
36+
# NOTE: The `volumes` included here should match those of the `app` container (unless you know what you're doing)
3537
depends_on:
3638
- app
3739

@@ -40,6 +42,7 @@ services:
4042
restart: always
4143
volumes:
4244
- nextcloud:/var/www/html:z
45+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
4346
entrypoint: /cron.sh
4447
depends_on:
4548
- db

.examples/docker-compose/with-nginx-proxy/mariadb/apache/compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ services:
2121
restart: always
2222
volumes:
2323
- nextcloud:/var/www/html:z
24+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
2425
environment:
2526
- VIRTUAL_HOST=
2627
- LETSENCRYPT_HOST=
@@ -45,6 +46,7 @@ services:
4546
restart: always
4647
volumes:
4748
- nextcloud:/var/www/html:z
49+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
4850
entrypoint: /cron.sh
4951
depends_on:
5052
- db

.examples/docker-compose/with-nginx-proxy/mariadb/fpm/compose.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ services:
2121
restart: always
2222
volumes:
2323
- nextcloud:/var/www/html:z
24+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
2425
environment:
2526
- MYSQL_HOST=db
2627
- REDIS_HOST=redis
@@ -36,6 +37,7 @@ services:
3637
restart: always
3738
volumes:
3839
- nextcloud:/var/www/html:z,ro
40+
# NOTE: The `volumes` included here should match those of the `app` container (unless you know what you're doing)
3941
environment:
4042
- VIRTUAL_HOST=
4143
- LETSENCRYPT_HOST=
@@ -51,6 +53,7 @@ services:
5153
restart: always
5254
volumes:
5355
- nextcloud:/var/www/html:z
56+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
5457
entrypoint: /cron.sh
5558
depends_on:
5659
- db

.examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ services:
1616
restart: always
1717
volumes:
1818
- nextcloud:/var/www/html:z
19+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
1920
environment:
2021
- VIRTUAL_HOST=
2122
- LETSENCRYPT_HOST=
@@ -37,6 +38,7 @@ services:
3738
restart: always
3839
volumes:
3940
- nextcloud:/var/www/html:z
41+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
4042
entrypoint: /cron.sh
4143
depends_on:
4244
- db

.examples/docker-compose/with-nginx-proxy/postgres/fpm/compose.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ services:
1818
restart: always
1919
volumes:
2020
- nextcloud:/var/www/html:z
21+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
2122
environment:
2223
- POSTGRES_HOST=db
2324
- REDIS_HOST=redis
@@ -33,6 +34,7 @@ services:
3334
restart: always
3435
volumes:
3536
- nextcloud:/var/www/html:z,ro
37+
# NOTE: The `volumes` included here should match those of the `app` container (unless you know what you're doing)
3638
environment:
3739
- VIRTUAL_HOST=
3840
- LETSENCRYPT_HOST=
@@ -48,6 +50,7 @@ services:
4850
restart: always
4951
volumes:
5052
- nextcloud:/var/www/html:z
53+
# NOTE: The `volumes` config of the `cron` and `app` containers must match
5154
entrypoint: /cron.sh
5255
depends_on:
5356
- db

28/apache/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ RUN set -ex; \
6767
# pecl will claim success even if one install fails, so we need to perform each install separately
6868
pecl install APCu-5.1.24; \
6969
pecl install imagick-3.7.0; \
70-
pecl install memcached-3.2.0; \
70+
pecl install memcached-3.3.0; \
7171
pecl install redis-6.1.0; \
7272
\
7373
docker-php-ext-enable \
@@ -140,7 +140,7 @@ RUN { \
140140
} > /etc/apache2/conf-available/apache-limits.conf; \
141141
a2enconf apache-limits
142142

143-
ENV NEXTCLOUD_VERSION 28.0.11
143+
ENV NEXTCLOUD_VERSION 28.0.12
144144

145145
RUN set -ex; \
146146
fetchDeps=" \
@@ -150,8 +150,8 @@ RUN set -ex; \
150150
apt-get update; \
151151
apt-get install -y --no-install-recommends $fetchDeps; \
152152
\
153-
curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-28.0.11.tar.bz2"; \
154-
curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-28.0.11.tar.bz2.asc"; \
153+
curl -fsSL -o nextcloud.tar.bz2 "https://download.nextcloud.com/server/releases/nextcloud-28.0.12.tar.bz2"; \
154+
curl -fsSL -o nextcloud.tar.bz2.asc "https://download.nextcloud.com/server/releases/nextcloud-28.0.12.tar.bz2.asc"; \
155155
export GNUPGHOME="$(mktemp -d)"; \
156156
# gpg key from https://nextcloud.com/nextcloud.asc
157157
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 28806A878AE423A28372792ED75899B9A724937A; \

0 commit comments

Comments
 (0)