update for Nextcloud 32

This commit is contained in:
compute
2025-12-17 15:16:56 +00:00
parent aa7ee059f8
commit 2efeef39c5
3 changed files with 8 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
FROM nextcloud:28
FROM nextcloud:32
RUN set -ex; \
\

View File

@@ -44,11 +44,8 @@ services:
- nextcloud-redis
container_name: nextcloud-app
command: >
bash -c 'chown -R www-data:www-data ${NEXTCLOUD_DATA_DIR} && chown -R www-data:www-data /var/www/html && chmod 755 ${NEXTCLOUD_DATA_DIR}/.ocdata && /entrypoint.sh apache2-foreground'
bash -c 'chown -R www-data:www-data ${NEXTCLOUD_DATA_DIR} && chown -R www-data:www-data ${NEXTCLOUD_HTML_DIR} && chmod 755 ${NEXTCLOUD_DATA_DIR}/.ocdata && /entrypoint.sh apache2-foreground'
env_file: live.env
environment:
- NEXTCLOUD_TRUSTED_DOMAINS='${NEXTCLOUD_FQDN}'
- NEXTCLOUD_DATA_DIR='${NEXTCLOUD_DATA_DIR}'
extra_hosts:
- "${NEXTCLOUD_FQDN}:${TRAEFIK_CONTAINER_IP}"
- "${COLLABORA_FQDN}:${TRAEFIK_CONTAINER_IP}"
@@ -81,19 +78,19 @@ services:
- default
restart: unless-stopped
volumes:
- ${NEXTCLOUD_ROOT}/html:/var/www/html
- ${NEXTCLOUD_ROOT}/html:${NEXTCLOUD_HTML_DIR}
- ${NEXTCLOUD_ROOT}/data:${NEXTCLOUD_DATA_DIR}
nextcloud-cron:
image: nextcloud:28
image: nextcloud:32
container_name: nextcloud-cron
command: >
bash -c 'chown -R www-data:www-data ${NEXTCLOUD_DATA_DIR} && chown -R www-data:www-data /var/www/html && chmod 755 ${NEXTCLOUD_DATA_DIR}/.ocdata && /entrypoint.sh apache2-foreground'
bash -c 'chown -R www-data:www-data ${NEXTCLOUD_DATA_DIR} && chown -R www-data:www-data ${NEXTCLOUD_HTML_DIR} && chmod 755 ${NEXTCLOUD_DATA_DIR}/.ocdata && /entrypoint.sh apache2-foreground'
labels:
- "com.centurylinklabs.watchtower.enable=true"
restart: unless-stopped
volumes:
- ${NEXTCLOUD_ROOT}/html:/var/www/html
- ${NEXTCLOUD_ROOT}/html:${NEXTCLOUD_HTML_DIR}
- ${NEXTCLOUD_ROOT}/data:${NEXTCLOUD_DATA_DIR}
entrypoint: /cron.sh
depends_on:
@@ -120,7 +117,7 @@ services:
- --static-auth-secret=${COTURN_SECRET}
nextcloud-collabora:
image: collabora/code:23.05.9.1.1
image: collabora/code:latest
container_name: nextcloud-collabora
env_file: live.env
extra_hosts:

View File

@@ -89,7 +89,7 @@ services:
# Always restart also at boot unless manually stopped
restart: unless-stopped
# The official v3 Traefik docker image
image: traefik:3.0
image: traefik:3.6
networks:
default:
ipv4_address: 172.27.0.100