forked from coop-cloud/nextcloud
Compare commits
2 Commits
13.0.0+32.
...
add_data_v
| Author | SHA1 | Date | |
|---|---|---|---|
| 079812a9fa | |||
| 8b7ed8142e |
@ -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
7
compose.local-data.yml
Normal file
@ -0,0 +1,7 @@
|
||||
volumes:
|
||||
nextdata:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: ${NEXTDATA_PATH}
|
||||
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user