Compare commits

..

2 Commits

Author SHA1 Message Date
079812a9fa Adding a data volume to nextcloud
Instead of storing the nextcloud data as a docker volume,
store it on the local filesystem.
2026-03-22 15:46:49 +01:00
8b7ed8142e chore: publish 13.0.1+32.0.3-fpm release 2026-01-14 12:22:05 +01:00
3 changed files with 14 additions and 2 deletions

View File

@ -23,6 +23,11 @@ SECRET_ADMIN_PASSWORD_VERSION=v1
EXTRA_VOLUME=/dev/null:/tmp/.dummy
# Use a local bind mount for nextdata instead of a named volume.
# The directory must exist on the host before deploying.
# COMPOSE_FILE="$COMPOSE_FILE:compose.local-data.yml"
# NEXTDATA_PATH=/path/on/host/nextdata
PHP_MEMORY_LIMIT=1G
PHP_UPLOAD_LIMIT=512M
# fpm-tune, see: https://spot13.com/pmcalculator/

7
compose.local-data.yml Normal file
View File

@ -0,0 +1,7 @@
volumes:
nextdata:
driver: local
driver_opts:
type: none
o: bind
device: ${NEXTDATA_PATH}

View File

@ -41,7 +41,7 @@ services:
- "caddy.reverse_proxy={{upstreams 80}}"
- "caddy.tls.on_demand="
healthcheck:
test: ["CMD-SHELL", 'curl -s -N curl -Ns localhost/status.php | grep "installed\":true"']
test: ["CMD-SHELL", "curl -fsS http://localhost/status.php | grep -q '\"installed\":true'"]
interval: 30s
timeout: 10s
retries: 10
@ -95,7 +95,7 @@ services:
failure_action: rollback
order: start-first
labels:
- "coop-cloud.${STACK_NAME}.version=13.0.0+32.0.3-fpm"
- "coop-cloud.${STACK_NAME}.version=13.0.1+32.0.3-fpm"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
- "backupbot.backup.volumes.redis=false"