update for Nextcloud 32
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM nextcloud:28
|
FROM nextcloud:32
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
\
|
\
|
||||||
|
|||||||
@@ -44,11 +44,8 @@ services:
|
|||||||
- nextcloud-redis
|
- nextcloud-redis
|
||||||
container_name: nextcloud-app
|
container_name: nextcloud-app
|
||||||
command: >
|
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
|
env_file: live.env
|
||||||
environment:
|
|
||||||
- NEXTCLOUD_TRUSTED_DOMAINS='${NEXTCLOUD_FQDN}'
|
|
||||||
- NEXTCLOUD_DATA_DIR='${NEXTCLOUD_DATA_DIR}'
|
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "${NEXTCLOUD_FQDN}:${TRAEFIK_CONTAINER_IP}"
|
- "${NEXTCLOUD_FQDN}:${TRAEFIK_CONTAINER_IP}"
|
||||||
- "${COLLABORA_FQDN}:${TRAEFIK_CONTAINER_IP}"
|
- "${COLLABORA_FQDN}:${TRAEFIK_CONTAINER_IP}"
|
||||||
@@ -81,19 +78,19 @@ services:
|
|||||||
- default
|
- default
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ${NEXTCLOUD_ROOT}/html:/var/www/html
|
- ${NEXTCLOUD_ROOT}/html:${NEXTCLOUD_HTML_DIR}
|
||||||
- ${NEXTCLOUD_ROOT}/data:${NEXTCLOUD_DATA_DIR}
|
- ${NEXTCLOUD_ROOT}/data:${NEXTCLOUD_DATA_DIR}
|
||||||
|
|
||||||
nextcloud-cron:
|
nextcloud-cron:
|
||||||
image: nextcloud:28
|
image: nextcloud:32
|
||||||
container_name: nextcloud-cron
|
container_name: nextcloud-cron
|
||||||
command: >
|
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:
|
labels:
|
||||||
- "com.centurylinklabs.watchtower.enable=true"
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ${NEXTCLOUD_ROOT}/html:/var/www/html
|
- ${NEXTCLOUD_ROOT}/html:${NEXTCLOUD_HTML_DIR}
|
||||||
- ${NEXTCLOUD_ROOT}/data:${NEXTCLOUD_DATA_DIR}
|
- ${NEXTCLOUD_ROOT}/data:${NEXTCLOUD_DATA_DIR}
|
||||||
entrypoint: /cron.sh
|
entrypoint: /cron.sh
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -120,7 +117,7 @@ services:
|
|||||||
- --static-auth-secret=${COTURN_SECRET}
|
- --static-auth-secret=${COTURN_SECRET}
|
||||||
|
|
||||||
nextcloud-collabora:
|
nextcloud-collabora:
|
||||||
image: collabora/code:23.05.9.1.1
|
image: collabora/code:latest
|
||||||
container_name: nextcloud-collabora
|
container_name: nextcloud-collabora
|
||||||
env_file: live.env
|
env_file: live.env
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ services:
|
|||||||
# Always restart also at boot unless manually stopped
|
# Always restart also at boot unless manually stopped
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# The official v3 Traefik docker image
|
# The official v3 Traefik docker image
|
||||||
image: traefik:3.0
|
image: traefik:3.6
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
ipv4_address: 172.27.0.100
|
ipv4_address: 172.27.0.100
|
||||||
|
|||||||
Reference in New Issue
Block a user