No description
Find a file
Glenn 15026b51ad docs(readme): update setup instructions for app configuration
Improves clarity and accuracy of setup instructions to prevent misconfiguration during deployment.

* Add explicit commands for setting file lock timeout and chunk size using `./occ`.
* Include command for setting maintenance window start time to ensure proper scheduling.
* Remove redundant and incorrect command comments to prevent confusion.

Signed-off-by: Glenn <glenux@glenux.net>
2025-03-10 16:48:01 +01:00
hooks fix: disable clamscan (to avoid a load of packages) 2024-08-13 18:00:40 +02:00
nginx.conf.d fix config for nginx 2024-05-05 19:05:33 +02:00
.dockerignore ci: Add deploy step 2023-02-21 14:47:21 +01:00
.drone.yml ci: improve readability 2024-08-13 20:05:09 +02:00
docker-compose.yml Add docker-compose.yml 2022-04-07 09:36:33 +02:00
Dockerfile chore(Dockerfile): update Nextcloud version to 31.0.0 2025-03-03 17:17:05 +01:00
Makefile fix: change permissions for hooks 2024-07-20 16:54:11 +02:00
php-errors.ini fix: add php config 2024-08-13 20:07:22 +02:00
php-performance.ini fix: add php config 2024-08-13 20:07:22 +02:00
php-uploads.ini Increase max_input_time to prevent file upload timeout 2025-03-03 17:14:27 +01:00
README.md docs(readme): update setup instructions for app configuration 2025-03-10 16:48:01 +01:00
supervisord.conf Add missing supervisord.conf 2021-03-27 17:05:29 +01:00

Build Status

Glenux OpenContainers : Service Nextcloud

Dokku storage mounts

dokku storage:mount cloud /var/lib/dokku/data/storage/cloud/apps:/var/www/html/apps
dokku storage:mount cloud /var/lib/dokku/data/storage/cloud/config:/var/www/html/config
dokku storage:mount cloud /var/lib/dokku/data/storage/cloud/data:/var/www/html/data

Process

  1. commit
  2. push to git repo
  3. run CI/CD
    • build image
    • push image to local registry

ssh dokku@buddha-apps.boldcode.io app-json:set cloud appjson-path /app/app.json # glenux/service-nextcloud:latest

Run after install

# FIXME: config:global:set --value '/Shared' share_folder

# set file lock timeout
./occ config:app:set files_lock lock_timeout --value '30' 

# set file chunk size
./occ config:app:set files max_chunk_size --value 20971520

# set maintenance window
./occ config:system:set maintenance_window_start --type=integer --value=1

Add this in crontab

dokku enter cloud web su -l -s /bin/bash - www-data -c "cd html && php -dmemory_limit=-1 ./occ app:update --all"

dokku nginx:set cloud client-max-body-size 500m