Compare commits

...

56 Commits

Author SHA1 Message Date
Simon L
488a77ebdf Merge pull request #4110 from nextcloud/aio-helm-update
Helm Chart updates
2024-01-24 13:23:47 +01:00
szaimen
1b4a00735c Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2024-01-24 12:09:20 +00:00
Simon L
27e8fc9092 Merge pull request #4090 from nextcloud/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2024-01-24 12:20:31 +01:00
Simon L
b4a380c1b2 try to fix psalm
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-24 12:18:49 +01:00
Simon L
378fe1d313 Merge pull request #4104 from nextcloud/dependabot/docker/Containers/mastercontainer/php-8.2.15-fpm-alpine3.18
Bump php from 8.2.14-fpm-alpine3.18 to 8.2.15-fpm-alpine3.18 in /Containers/mastercontainer
2024-01-24 12:02:05 +01:00
Simon L
101e165720 Merge pull request #4102 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.2.1-27
Bump clamav/clamav from 1.2.1-26 to 1.2.1-27 in /Containers/clamav
2024-01-24 12:01:52 +01:00
Simon L
3d6dae0093 Merge pull request #4100 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-23.05.7.5.1
Bump collabora/code from 23.05.7.2.1 to 23.05.7.5.1 in /Containers/collabora
2024-01-24 12:01:31 +01:00
Simon L
17ec79f33e Merge pull request #4098 from nextcloud/aio-dependency-update
PHP dependency updates
2024-01-24 12:01:15 +01:00
Simon L
03c7051c9a Merge pull request #4083 from nextcloud/reword-error-message
Reword the error message shown when the password is incorrect
2024-01-24 12:00:37 +01:00
Simon L
977f1d1d90 Merge pull request #4082 from nextcloud/dependabot/docker/Containers/fulltextsearch/elasticsearch-8.12.0
Bump elasticsearch from 8.11.3 to 8.12.0 in /Containers/fulltextsearch
2024-01-24 12:00:15 +01:00
dependabot[bot]
ad7248358c Bump php in /Containers/mastercontainer
Bumps php from 8.2.14-fpm-alpine3.18 to 8.2.15-fpm-alpine3.18.

---
updated-dependencies:
- dependency-name: php
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 13:04:07 +00:00
dependabot[bot]
11b1ecbd30 Bump clamav/clamav from 1.2.1-26 to 1.2.1-27 in /Containers/clamav
Bumps clamav/clamav from 1.2.1-26 to 1.2.1-27.

---
updated-dependencies:
- dependency-name: clamav/clamav
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 12:35:50 +00:00
dependabot[bot]
85d5b6890d Bump collabora/code in /Containers/collabora
Bumps collabora/code from 23.05.7.2.1 to 23.05.7.5.1.

---
updated-dependencies:
- dependency-name: collabora/code
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 12:20:41 +00:00
szaimen
5303ff2927 php dependency updates
Signed-off-by: GitHub <noreply@github.com>
2024-01-22 12:03:03 +00:00
nextcloud-command
c2bfe1d37d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-01-20 21:57:51 +00:00
hunhejj
5ec3fd2d3d Reword the error message shown when the password is incorrect
Signed-off-by: hunhejj <hunhejj@gmail.com>
2024-01-19 14:41:22 +01:00
Simon L
b17561d41e remove show-info for psalm again
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-19 14:40:49 +01:00
dependabot[bot]
a6727c629a Bump elasticsearch from 8.11.3 to 8.12.0 in /Containers/fulltextsearch
Bumps elasticsearch from 8.11.3 to 8.12.0.

---
updated-dependencies:
- dependency-name: elasticsearch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 12:09:55 +00:00
Simon L
8cf535e187 actually make the inversion of installing apks work
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-17 13:25:31 +01:00
Simon L
b43e8e56a2 increase to 7.11.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-17 10:02:40 +01:00
Simon L
2f9645f50d Merge pull request #4074 from nextcloud/aio-helm-update
Helm Chart updates
2024-01-17 10:00:42 +01:00
szaimen
731c09fc74 Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2024-01-17 08:59:59 +00:00
Simon L
80c0e94c0c Merge pull request #4071 from matiasdelellis/bump-external-model-v1
Increase version of the facerecognition external model to v1.
2024-01-17 09:58:34 +01:00
Simon L
2c951a784b Merge pull request #4066 from nextcloud/enh/4056/fix-image-check
only check if the image is actually there if no image is there
2024-01-17 09:58:16 +01:00
Simon L
852798d37a Merge pull request #4065 from nextcloud/enh/4008/further-hint
add further hint for what could be wrong
2024-01-17 09:56:55 +01:00
Simon L
fca8a08fa7 Merge pull request #4061 from nextcloud/enh/noid/improve-warning-hint
improve the hint what to do if access on 443 is blocked
2024-01-17 09:56:17 +01:00
Simon L
faf88fe7f0 improve the hint what to do if access on 443 is blocked
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-17 09:52:42 +01:00
Simon L
21e1523f38 Merge pull request #4060 from nextcloud/enh/noid/improve-ip-address-check
improve the reserved ip-address notice
2024-01-17 09:50:52 +01:00
Simon L
df40476f6b Merge pull request #4054 from nextcloud/enh/2622/request-workers
apache - adjust MaxRequestWorkers and ServerLimit
2024-01-17 09:50:18 +01:00
Simon L
7b396db59d Merge pull request #4052 from septatrix/patch-1
Update notice about Strato VPSs
2024-01-17 09:49:10 +01:00
Simon L
5adb903eb9 Merge pull request #4050 from nextcloud/enh/noid/point-at-doc-in-rp-mode
point at debug documentation if AIO is in RP mode
2024-01-17 09:49:01 +01:00
Simon L
c75c3a052a Merge pull request #4048 from nextcloud/enh/4042/inverse-imagemagick
inverse the addition of imagemagick by deleting it if it was not added
2024-01-17 09:48:40 +01:00
Simon L
18237f59a7 Merge pull request #4047 from nextcloud/enh/4039/disable-selinux
disable SELinux for AIO containers
2024-01-17 09:47:56 +01:00
Simon L
b3d0624627 Merge pull request #4046 from nextcloud/enh/4041/verbose-error-message
Make port 443 error message more verbose
2024-01-17 09:47:30 +01:00
Simon L
d393edd926 Make port 443 error message more verbose
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-17 09:43:20 +01:00
Simon L
e1381ed0a0 Merge pull request #4030 from nextcloud/dependabot/docker/Containers/imaginary/golang-1.21.6-alpine3.18
Bump golang from 1.21.5-alpine3.18 to 1.21.6-alpine3.18 in /Containers/imaginary
2024-01-17 09:41:49 +01:00
Simon L
205d1f0e26 Merge pull request #4031 from nextcloud/dependabot/docker/Containers/redis/redis-7.2.4-alpine
Bump redis from 7.2.3-alpine to 7.2.4-alpine in /Containers/redis
2024-01-17 09:41:30 +01:00
Simon L
010685a984 Merge pull request #4045 from nextcloud/dependabot/docker/Containers/talk/nats-2.10.9-scratch
Bump nats from 2.10.7-scratch to 2.10.9-scratch in /Containers/talk
2024-01-17 09:41:05 +01:00
Simon L
ee5666c973 Merge pull request #4067 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-23.05.7.2.1
Bump collabora/code from 23.05.6.5.1 to 23.05.7.2.1 in /Containers/collabora
2024-01-17 09:40:15 +01:00
Simon L
daef535a26 Merge pull request #4068 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.2.1-26
Bump clamav/clamav from 1.2.1-25 to 1.2.1-26 in /Containers/clamav
2024-01-17 09:39:59 +01:00
matiasdelellis
29399df295 Increase version of the external model to v1.
This adds a few fixes that you can see in:

https://github.com/matiasdelellis/facerecognition-external-model/releases/tag/1.0.0

Signed-off-by: matiasdelellis <mati86dl@gmail.com>
2024-01-15 21:29:18 -03:00
dependabot[bot]
27d98c0d75 Bump clamav/clamav from 1.2.1-25 to 1.2.1-26 in /Containers/clamav
Bumps clamav/clamav from 1.2.1-25 to 1.2.1-26.

---
updated-dependencies:
- dependency-name: clamav/clamav
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 13:00:24 +00:00
dependabot[bot]
5f04e41488 Bump collabora/code in /Containers/collabora
Bumps collabora/code from 23.05.6.5.1 to 23.05.7.2.1.

---
updated-dependencies:
- dependency-name: collabora/code
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 12:53:20 +00:00
Simon L
61caa08b10 only check if the image is actually there if no image is there
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-15 11:24:09 +01:00
Simon L
93de170c38 add further hint for what could be wrong
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-15 11:06:18 +01:00
Simon L
7644b5f453 improve the reserved ip-address notice
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-14 13:28:18 +01:00
Marc
72fe749644 Add Treafik HTTP/3 Support (#3965)
Signed-off-by: wuast94 <mihauku@googlemail.com>
Signed-off-by: wuast94 <github@wuast24.de>
Signed-off-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Marc <github@wuast24.de>
Co-authored-by: wuast94 <mihauku@googlemail.com>
Co-authored-by: Simon L <szaimen@e.mail.de>
2024-01-14 10:04:36 +01:00
Simon L
36a67eb749 apache - adjust MaxRequestWorkers and ServerLimit
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-13 11:23:03 +01:00
Simon L
6518217d2b point at documentation if AIO is in RP mode
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-13 10:47:27 +01:00
Simon L
cf54794be2 Show info when psalm runs
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-01-13 10:46:42 +01:00
Nils K
b0b771e946 Update notice about Strato VPSs
Their newer generation no longer has a numproc/task limit, see:
https://github.com/nextcloud/all-in-one/pull/1799#issuecomment-1889735379

Signed-off-by: Nils K <24257556+septatrix@users.noreply.github.com>
2024-01-13 06:49:04 +01:00
Simon L
d045a00453 inverse the addition of imagemagick by deleting it if it was not added
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-12 16:32:18 +01:00
Simon L
27d4f793e5 disable SELinux for AIO containers
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-12 16:22:22 +01:00
dependabot[bot]
e56bab9d59 Bump nats from 2.10.7-scratch to 2.10.9-scratch in /Containers/talk
Bumps nats from 2.10.7-scratch to 2.10.9-scratch.

---
updated-dependencies:
- dependency-name: nats
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-12 12:43:40 +00:00
dependabot[bot]
e0ca3bdfd6 Bump redis from 7.2.3-alpine to 7.2.4-alpine in /Containers/redis
Bumps redis from 7.2.3-alpine to 7.2.4-alpine.

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 12:45:39 +00:00
dependabot[bot]
bff4772ad8 Bump golang in /Containers/imaginary
Bumps golang from 1.21.5-alpine3.18 to 1.21.6-alpine3.18.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 12:22:49 +00:00
48 changed files with 166 additions and 130 deletions

View File

@@ -53,6 +53,12 @@ RUN set -ex; \
/usr/local/apache2/conf/httpd.conf; \
echo "Include conf/nextcloud.conf" | tee -a /usr/local/apache2/conf/httpd.conf; \
echo "ServerName localhost" | tee -a /usr/local/apache2/conf/httpd.conf; \
# Sync this with max db connections and pm.max_children
# We don't actually expect so many workers but don't want to limit it artificially because people will report issues otherwise.
sed -i 's|MaxRequestWorkers.*|MaxRequestWorkers 5000|' /usr/local/apache2/conf/extra/httpd-mpm.conf; \
grep -q '<IfModule mpm_event_module>' /usr/local/apache2/conf/extra/httpd-mpm.conf; \
# ServerLimit needs to be set to MaxRequestWorkers divided by ThreadsPerChild which is set to 25 by default
sed -i '/<IfModule mpm_event_module>/a\ \ \ \ ServerLimit 200' /usr/local/apache2/conf/extra/httpd-mpm.conf; \
\
rm -rf /usr/local/apache2/conf/original /var/www; \
mkdir -p /var/www; \

View File

@@ -1,5 +1,5 @@
# Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/1.1/alpine/Dockerfile
FROM clamav/clamav:1.2.1-25
FROM clamav/clamav:1.2.1-27
COPY clamav.conf /tmp/clamav.conf

View File

@@ -1,5 +1,5 @@
# From a file located probably somewhere here: https://github.com/CollaboraOnline/online/tree/master/docker
FROM collabora/code:23.05.6.5.1
FROM collabora/code:23.05.7.5.1
USER root

View File

@@ -1,5 +1,5 @@
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
FROM elasticsearch:8.11.3
FROM elasticsearch:8.12.0
USER root

View File

@@ -1,4 +1,4 @@
FROM golang:1.21.5-alpine3.18 as go
FROM golang:1.21.6-alpine3.18 as go
ENV IMAGINARY_HASH 6cd9edd1d3fb151eb773c14552886e4fc8e50138

View File

@@ -5,7 +5,7 @@ FROM docker:24.0.7-cli as docker
FROM caddy:2.7.6-alpine as caddy
# From https://github.com/docker-library/php/blob/master/8.2/alpine3.18/fpm/Dockerfile
FROM php:8.2.14-fpm-alpine3.18
FROM php:8.2.15-fpm-alpine3.18
EXPOSE 80
EXPOSE 8080

View File

@@ -70,6 +70,7 @@ fi
# Check if api version is supported
if ! sudo -u www-data docker info &>/dev/null; then
print_red "Cannot connect to the docker socket. Cannot proceed."
echo "Did you maybe remove group read permissions for the docker socket? AIO needs them in order to access the docker socket."
echo "If SELinux is enabled on your host, see https://github.com/nextcloud/all-in-one#are-there-known-problems-when-selinux-is-enabled"
echo "If you are on TrueNas SCALE, see https://github.com/nextcloud/all-in-one#can-i-run-aio-on-truenas-scale"
exit 1

View File

@@ -191,11 +191,12 @@ RUN set -ex; \
grep \
nodejs \
bind-tools \
imagemagick \
coreutils; \
\
grep -q '^pm = dynamic' /usr/local/etc/php-fpm.d/www.conf; \
sed -i 's/^pm = dynamic/pm = ondemand/' /usr/local/etc/php-fpm.d/www.conf; \
# Sync this with max db connections
# Sync this with max db connections and MaxRequestWorkers
# We don't actually expect so many children but don't want to limit it artificially because people will report issues otherwise.
# Also children will usually be terminated again after the process is done due to the ondemand setting
sed -i 's/^pm.max_children =.*/pm.max_children = 5000/' /usr/local/etc/php-fpm.d/www.conf; \

View File

@@ -54,11 +54,17 @@ sudo -u www-data rm -f "$NEXTCLOUD_DATA_DIR/this-is-a-test-file"
# Install additional dependencies
if [ -n "$ADDITIONAL_APKS" ]; then
if ! [ -f "/additional-apks-are-installed" ]; then
# Allow to disable imagemagick without having to download it each time
if ! echo "$ADDITIONAL_APKS" | grep -q imagemagick; then
apk del imagemagick;
fi
read -ra ADDITIONAL_APKS_ARRAY <<< "$ADDITIONAL_APKS"
for app in "${ADDITIONAL_APKS_ARRAY[@]}"; do
echo "Installing $app via apk..."
if ! apk add --no-cache "$app" >/dev/null; then
echo "The packet $app was not installed!"
if [ "$app" != imagemagick ]; then
echo "Installing $app via apk..."
if ! apk add --no-cache "$app" >/dev/null; then
echo "The packet $app was not installed!"
fi
fi
done
fi

View File

@@ -150,6 +150,7 @@ fi
if [ -f "/var/lib/postgresql/data/postgresql.conf" ]; then
echo "Setting postgres values..."
# Sync this with max pm.max_children and MaxRequestWorkers
# 5000 connections is apparently the highest possible value with postgres so set it to that so that we don't run into a limit here.
# We don't actually expect so many connections but don't want to limit it artificially because people will report issues otherwise
# Also connections should usually be closed again after the process is done

View File

@@ -1,5 +1,5 @@
# From https://github.com/docker-library/redis/blob/master/7.0/alpine/Dockerfile
FROM redis:7.2.3-alpine
FROM redis:7.2.4-alpine
COPY --chmod=775 start.sh /start.sh

View File

@@ -1,4 +1,4 @@
FROM nats:2.10.7-scratch as nats
FROM nats:2.10.9-scratch as nats
FROM eturnal/eturnal:1.12.0 AS eturnal
FROM strukturag/nextcloud-spreed-signaling:1.2.2 as signaling
FROM alpine:3.18.5 as janus

View File

@@ -5,7 +5,7 @@
"display_name": "Computing container for facerecognition",
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/facerecognition",
"image": "matiasdelellis/facerecognition-external-model",
"image_tag": "initial",
"image_tag": "v1",
"internal_port": "5000",
"restart": "unless-stopped",
"environment": [

View File

@@ -1,6 +1,6 @@
name: nextcloud-aio-helm-chart
description: A generated Helm Chart for Nextcloud AIO from Skippbox Kompose
version: 7.9.1
version: 7.11.0
apiVersion: v2
keywords:
- latest

View File

@@ -3,7 +3,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-apache
name: nextcloud-aio-apache
@@ -17,7 +17,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-apache
@@ -57,7 +57,7 @@ spec:
value: nextcloud-aio-talk
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-apache:20240109_092105-latest
image: nextcloud/aio-apache:20240124_105749-latest
name: nextcloud-aio-apache
ports:
- containerPort: {{ .Values.APACHE_PORT }}

View File

@@ -3,7 +3,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-apache
name: nextcloud-aio-apache

View File

@@ -4,7 +4,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-clamav
name: nextcloud-aio-clamav
@@ -18,7 +18,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-clamav
@@ -50,7 +50,7 @@ spec:
value: "90"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-clamav:20240109_092105-latest
image: nextcloud/aio-clamav:20240124_105749-latest
name: nextcloud-aio-clamav
ports:
- containerPort: 3310

View File

@@ -4,7 +4,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-clamav
name: nextcloud-aio-clamav

View File

@@ -4,7 +4,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-collabora
name: nextcloud-aio-collabora
@@ -18,7 +18,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-collabora
@@ -37,7 +37,7 @@ spec:
value: --o:ssl.enable=false --o:ssl.termination=true --o:mount_jail_tree=false --o:logging.level=warning --o:home_mode.enable=true {{ .Values.COLLABORA_SECCOMP_POLICY }} --o:remote_font_config.url=https://{{ .Values.NC_DOMAIN }}/apps/richdocuments/settings/fonts.json
- name: server_name
value: "{{ .Values.NC_DOMAIN }}"
image: nextcloud/aio-collabora:20240109_092105-latest
image: nextcloud/aio-collabora:20240124_105749-latest
name: nextcloud-aio-collabora
ports:
- containerPort: 9980

View File

@@ -4,7 +4,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-collabora
name: nextcloud-aio-collabora

View File

@@ -3,7 +3,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-database
name: nextcloud-aio-database
@@ -17,7 +17,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-database
@@ -61,7 +61,7 @@ spec:
value: nextcloud
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-postgresql:20240109_092105-latest
image: nextcloud/aio-postgresql:20240124_105749-latest
name: nextcloud-aio-database
ports:
- containerPort: 5432

View File

@@ -3,7 +3,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-database
name: nextcloud-aio-database

View File

@@ -4,7 +4,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-fulltextsearch
name: nextcloud-aio-fulltextsearch
@@ -18,7 +18,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-fulltextsearch
@@ -55,7 +55,7 @@ spec:
value: basic
- name: xpack.security.enabled
value: "false"
image: nextcloud/aio-fulltextsearch:20240109_092105-latest
image: nextcloud/aio-fulltextsearch:20240124_105749-latest
name: nextcloud-aio-fulltextsearch
ports:
- containerPort: 9200

View File

@@ -4,7 +4,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-fulltextsearch
name: nextcloud-aio-fulltextsearch

View File

@@ -4,7 +4,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-imaginary
name: nextcloud-aio-imaginary
@@ -18,7 +18,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-imaginary
@@ -27,7 +27,7 @@ spec:
- env:
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-imaginary:20240109_092105-latest
image: nextcloud/aio-imaginary:20240124_105749-latest
name: nextcloud-aio-imaginary
ports:
- containerPort: 9000

View File

@@ -4,7 +4,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-imaginary
name: nextcloud-aio-imaginary

View File

@@ -3,4 +3,3 @@ kind: Namespace
metadata:
name: {{ .Values.NAMESPACE }}
namespace: {{ .Values.NAMESPACE }}
spec: {}

View File

@@ -3,7 +3,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-nextcloud
name: nextcloud-aio-nextcloud
@@ -17,7 +17,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-nextcloud
@@ -158,7 +158,7 @@ spec:
value: "{{ .Values.TIMEZONE }}"
- name: UPDATE_NEXTCLOUD_APPS
value: "{{ .Values.UPDATE_NEXTCLOUD_APPS }}"
image: nextcloud/aio-nextcloud:20240109_092105-latest
image: nextcloud/aio-nextcloud:20240124_105749-latest
name: nextcloud-aio-nextcloud
ports:
- containerPort: 9000

View File

@@ -3,7 +3,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-nextcloud
name: nextcloud-aio-nextcloud

View File

@@ -3,7 +3,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-notify-push
name: nextcloud-aio-notify-push
@@ -17,7 +17,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-notify-push
@@ -50,7 +50,7 @@ spec:
value: nextcloud-aio-redis
- name: REDIS_HOST_PASSWORD
value: "{{ .Values.REDIS_PASSWORD }}"
image: nextcloud/aio-notify-push:20240109_092105-latest
image: nextcloud/aio-notify-push:20240124_105749-latest
name: nextcloud-aio-notify-push
ports:
- containerPort: 7867

View File

@@ -3,7 +3,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-notify-push
name: nextcloud-aio-notify-push

View File

@@ -4,7 +4,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-onlyoffice
name: nextcloud-aio-onlyoffice
@@ -18,7 +18,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-onlyoffice
@@ -43,7 +43,7 @@ spec:
value: "{{ .Values.ONLYOFFICE_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-onlyoffice:20240109_092105-latest
image: nextcloud/aio-onlyoffice:20240124_105749-latest
name: nextcloud-aio-onlyoffice
ports:
- containerPort: 80

View File

@@ -4,7 +4,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-onlyoffice
name: nextcloud-aio-onlyoffice

View File

@@ -3,7 +3,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-redis
name: nextcloud-aio-redis
@@ -17,7 +17,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-redis
@@ -38,7 +38,7 @@ spec:
value: "{{ .Values.REDIS_PASSWORD }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-redis:20240109_092105-latest
image: nextcloud/aio-redis:20240124_105749-latest
name: nextcloud-aio-redis
ports:
- containerPort: 6379

View File

@@ -3,7 +3,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-redis
name: nextcloud-aio-redis

View File

@@ -4,7 +4,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-talk
name: nextcloud-aio-talk
@@ -18,7 +18,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-talk
@@ -37,7 +37,7 @@ spec:
value: "{{ .Values.TURN_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-talk:20240109_092105-latest
image: nextcloud/aio-talk:20240124_105749-latest
name: nextcloud-aio-talk
ports:
- containerPort: {{ .Values.TALK_PORT }}

View File

@@ -4,7 +4,7 @@ kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-talk-recording
name: nextcloud-aio-talk-recording
@@ -18,7 +18,7 @@ spec:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-talk-recording
@@ -33,7 +33,7 @@ spec:
value: "{{ .Values.RECORDING_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-talk-recording:20240109_092105-latest
image: nextcloud/aio-talk-recording:20240124_105749-latest
name: nextcloud-aio-talk-recording
ports:
- containerPort: 1234

View File

@@ -4,7 +4,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-talk-recording
name: nextcloud-aio-talk-recording

View File

@@ -5,7 +5,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-talk
name: nextcloud-aio-talk-public
@@ -30,7 +30,7 @@ kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
kompose.version: 1.32.0 (765fde254)
labels:
io.kompose.service: nextcloud-aio-talk
name: nextcloud-aio-talk

20
php/composer.lock generated
View File

@@ -1090,16 +1090,16 @@
},
{
"name": "slim/csrf",
"version": "1.3.0",
"version": "1.4.0",
"source": {
"type": "git",
"url": "https://github.com/slimphp/Slim-Csrf.git",
"reference": "ebaaf295fd6d7224078d8ae3bba45329b31798c7"
"reference": "f66be9740283ed4f432535aff3623540e178013a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/slimphp/Slim-Csrf/zipball/ebaaf295fd6d7224078d8ae3bba45329b31798c7",
"reference": "ebaaf295fd6d7224078d8ae3bba45329b31798c7",
"url": "https://api.github.com/repos/slimphp/Slim-Csrf/zipball/f66be9740283ed4f432535aff3623540e178013a",
"reference": "f66be9740283ed4f432535aff3623540e178013a",
"shasum": ""
},
"require": {
@@ -1110,10 +1110,10 @@
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"phpspec/prophecy": "^1.15",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.7"
"phpspec/prophecy": "^1.18",
"phpspec/prophecy-phpunit": "^2.1",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.8"
},
"type": "library",
"autoload": {
@@ -1142,9 +1142,9 @@
],
"support": {
"issues": "https://github.com/slimphp/Slim-Csrf/issues",
"source": "https://github.com/slimphp/Slim-Csrf/tree/1.3.0"
"source": "https://github.com/slimphp/Slim-Csrf/tree/1.4.0"
},
"time": "2022-11-05T19:27:53+00:00"
"time": "2024-01-22T09:08:27+00:00"
},
{
"name": "slim/slim",

View File

@@ -8,7 +8,7 @@ if (strpos($domain, '.') === false) {
http_response_code(400);
} elseif (strpos($domain, ':') !== false) {
http_response_code(400);
} elseif (!filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)) {
} elseif (!filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME) === false) {
http_response_code(400);
} elseif (filter_var($domain, FILTER_VALIDATE_IP)) {
http_response_code(400);

View File

@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.19.0@06b71be009a6bd6d81b9811855d6629b9fe90e1b"/>
<files psalm-version="5.20.0@3f284e96c9d9be6fe6b15c79416e1d1903dcfef4"/>

View File

@@ -30,7 +30,7 @@ class LoginController
return $response->withHeader('Location', '/')->withStatus(201);
}
$response->getBody()->write("The password is false.");
$response->getBody()->write("The password is incorrect.");
return $response->withHeader('Location', '/')->withStatus(422);
}

View File

@@ -286,7 +286,7 @@ class ConfigurationManager
}
// Validate domain
if (!filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)) {
if (filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME) === false) {
throw new InvalidSettingConfigurationException("Domain is not a valid domain!");
}
@@ -305,7 +305,7 @@ class ConfigurationManager
if (empty($dnsRecordIP)) {
$record = dns_get_record($domain, DNS_AAAA);
if (!empty($record)) {
if (!empty($record[0]['ipv6'])) {
$dnsRecordIP = $record[0]['ipv6'];
}
}
@@ -320,7 +320,7 @@ class ConfigurationManager
if (!filter_var($dnsRecordIP, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)) {
if ($port === '443') {
throw new InvalidSettingConfigurationException("It seems like the ip-address is set to an internal or reserved ip-address. This is not supported. (It was found to be set to '" . $dnsRecordIP . "')");
throw new InvalidSettingConfigurationException("It seems like the ip-address of the domain is set to an internal or reserved ip-address. This is not supported. (It was found to be set to '" . $dnsRecordIP . "'). Please set it to a public ip-address so that the domain validation can work!");
} else {
error_log("It seems like the ip-address of " . $domain . " is set to an internal or reserved ip-address. (It was found to be set to '" . $dnsRecordIP . "')");
}
@@ -331,7 +331,7 @@ class ConfigurationManager
if ($connection) {
fclose($connection);
} else {
throw new InvalidSettingConfigurationException("The server is not reachable on Port 443. You can verify this e.g. with 'https://portchecker.co/' by entering your domain there as ip-address and port 443 as port.");
throw new InvalidSettingConfigurationException("The domain is not reachable on Port 443 from within this container. Have you opened port 443/tcp in your router/firewall? If yes is the problem most likely that the router or firewall forbids local access to your domain. You can work around that by setting up a local DNS-server.");
}
// Get Instance ID
@@ -359,7 +359,13 @@ class ConfigurationManager
error_log('The response of the connection attempt to "' . $testUrl . '" was: ' . $response);
error_log('Expected was: ' . $instanceID);
error_log('The error message was: ' . curl_error($ch));
throw new InvalidSettingConfigurationException("Domain does not point to this server or the reverse proxy is not configured correctly. See the mastercontainer logs for more details. ('sudo docker logs -f nextcloud-aio-mastercontainer')");
$notice = "Domain does not point to this server or the reverse proxy is not configured correctly. See the mastercontainer logs for more details. ('sudo docker logs -f nextcloud-aio-mastercontainer')";
if ($port === '443') {
$notice .= " If you should be using Cloudflare, make sure to disable the Cloudflare Proxy feature as it might block the domain validation. Same for any other firewall or service that blocks unencrypted access on port 443.";
} else {
error_log('Please follow https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md#6-how-to-debug-things in order to debug things!');
}
throw new InvalidSettingConfigurationException($notice);
}
}

View File

@@ -522,6 +522,9 @@ class DockerActionManager
$requestBody['HostConfig']['SecurityOpt'] = ["apparmor:unconfined"];
}
// Disable SELinux for AIO containers so that it does not break them
$requestBody['HostConfig']['SecurityOpt'] = ["label:disable"];
$mounts = [];
// Special things for the backup container which should not be exposed in the containers.json
@@ -553,9 +556,6 @@ class DockerActionManager
}
$mounts[] = ["Type" => "bind", "Source" => $volume->name, "Target" => $volume->mountPoint, "ReadOnly" => !$volume->isWritable, "BindOptions" => [ "Propagation" => "rshared"]];
}
// Special things for the watchtower and docker-socket-proxy container which should not be exposed in the containers.json
} elseif ($container->GetIdentifier() === 'nextcloud-aio-watchtower' || $container->GetIdentifier() === 'nextcloud-aio-docker-socket-proxy') {
$requestBody['HostConfig']['SecurityOpt'] = ["label:disable"];
}
if (count($mounts) > 0) {
@@ -582,12 +582,19 @@ class DockerActionManager
$imageName = $this->BuildImageName($container);
$encodedImageName = urlencode($imageName);
$url = $this->BuildApiUrl(sprintf('images/create?fromImage=%s', $encodedImageName));
$imageIsThere = true;
try {
$this->guzzleClient->post($url);
$imageUrl = $this->BuildApiUrl(sprintf('images/%s/json', $encodedImageName));
$this->guzzleClient->get($imageUrl)->getBody()->getContents();
} catch (\Throwable $e) {
throw new \Exception("Could not pull image " . $imageName . ". Please run 'sudo docker exec -it nextcloud-aio-mastercontainer docker pull " . $imageName . "' in order to find out why it failed.");
$imageIsThere = false;
}
try {
$this->guzzleClient->post($url);
} catch (RequestException $e) {
if ($imageIsThere === false) {
throw new \Exception("Could not pull image " . $imageName . ". Please run 'sudo docker exec -it nextcloud-aio-mastercontainer docker pull " . $imageName . "' in order to find out why it failed.");
}
}
}

View File

@@ -16,7 +16,7 @@
</header>
<div class="content">
<h1>Nextcloud AIO v7.10.0</h1>
<h1>Nextcloud AIO v7.11.0</h1>
{# Add 2nd tab warning #}
<script type="text/javascript" src="second-tab-warning.js"></script>

View File

@@ -222,7 +222,10 @@ Another but untested way is to install Portainer on your TrueNAS SCALE from here
Although it does not seems like it is the case but from AIO perspective a Cloudflare Tunnel works like a reverse proxy. So please follow the [reverse proxy documentation](./reverse-proxy.md) where is documented how to make it run behind a Cloudflare Tunnel. However please see the [caveats](https://github.com/nextcloud/all-in-one#notes-on-cloudflare-proxytunnel) before proceeding.
### Disrecommended VPS providers
- Stratos VPS crash/freeze/make errors when they reach an extremely low PID limit, which is very quickly reached by AIO, see [here](https://github.com/nextcloud/all-in-one/discussions/1747#discussioncomment-4716164), Strato does normally not increase this limit.
- *Older* Strato VPS using Virtuozzo caused problems though ones from Q3 2023 and later should work.
If your VPS has a `/proc/user_beancounters` file and a low `numproc` limit set in it
your server will likely misbehave once it reaches this limit
which is very quickly reached by AIO, see [here](https://github.com/nextcloud/all-in-one/discussions/1747#discussioncomment-4716164).
- Hostingers VPS seem to miss a specific Kernel feature which is required for AIO to run correctly. See [here](https://help.nextcloud.com/t/help-installing-nc-via-aio-on-vps/153956).
### Recommended VPS

View File

@@ -556,61 +556,67 @@ The examples below define the dynamic configuration in YAML files. If you rather
# STATIC CONFIGURATION
entryPoints:
https:
address: ":443" # Create an entrypoint called "https" that uses port 443
https:
address: ":443" # Create an entrypoint called "https" that uses port 443
# If you want to enable HTTP/3 support, uncomment the line below
# http3: {}
certificatesResolvers:
# Define "letsencrypt" certificate resolver
letsencrypt:
acme:
storage: /letsencrypt/acme.json # Defines the path where certificates should be stored
email: <your-email-address> # Where LE sends notification about certificates expiring
tlschallenge: true
# Define "letsencrypt" certificate resolver
letsencrypt:
acme:
storage: /letsencrypt/acme.json # Defines the path where certificates should be stored
email: <your-email-address> # Where LE sends notification about certificates expiring
tlschallenge: true
providers:
file:
directory: "/path/to/dynamic/conf" # Adjust the path according your needs.
watch: true
file:
directory: "/path/to/dynamic/conf" # Adjust the path according your needs.
watch: true
# Enable HTTP/3 feature by uncommenting the lines below. Don't forget to route 443 UDP to Traefik (Firewall\NAT\Traefik Container)
# experimental:
# http3: true
```
1. Declare the router, service and middlewares for Nextcloud in `/path/to/dynamic/conf/nextcloud.yml`:
```yml
http:
routers:
nextcloud:
rule: "Host(`<your-nc-domain>`)"
entrypoints:
- "https"
service: nextcloud
middlewares:
- nextcloud-chain
tls:
certresolver: "letsencrypt"
routers:
nextcloud:
rule: "Host(`<your-nc-domain>`)"
entrypoints:
- "https"
service: nextcloud
middlewares:
- nextcloud-chain
tls:
certresolver: "letsencrypt"
services:
nextcloud:
loadBalancer:
servers:
- url: "http://localhost:11000" # Use the host's IP address if Traefik runs outside the host network
services:
nextcloud:
loadBalancer:
servers:
- url: "http://localhost:11000" # Use the host's IP address if Traefik runs outside the host network
middlewares:
nextcloud-secure-headers:
headers:
hostsProxyHeaders:
- "X-Forwarded-Host"
referrerPolicy: "same-origin"
middlewares:
nextcloud-secure-headers:
headers:
hostsProxyHeaders:
- "X-Forwarded-Host"
referrerPolicy: "same-origin"
https-redirect:
redirectscheme:
scheme: https
nextcloud-chain:
chain:
middlewares:
# - ... (e.g. rate limiting middleware)
- https-redirect
- nextcloud-secure-headers
https-redirect:
redirectscheme:
scheme: https
nextcloud-chain:
chain:
middlewares:
# - ... (e.g. rate limiting middleware)
- https-redirect
- nextcloud-secure-headers
```
---