Configure Nextcloud cron job (every 5 minutes) in container startup script for proper background task execution (file scanning, cleanup, notifications, etc.) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| files | ||
| Makefile | ||
| README.md | ||
SecuBox Nextcloud
Self-hosted file sync and share platform running in Docker on OpenWrt. Provides calendar, contacts, collaborative editing, and file management.
Installation
opkg install secubox-app-nextcloud
Configuration
UCI config file: /etc/config/nextcloud
uci set nextcloud.main.enabled='1'
uci set nextcloud.main.domain='cloud.example.com'
uci set nextcloud.main.port='8080'
uci set nextcloud.main.admin_user='admin'
uci set nextcloud.main.data_dir='/srv/nextcloud/data'
uci commit nextcloud
Usage
nextcloudctl start # Start Nextcloud container
nextcloudctl stop # Stop Nextcloud container
nextcloudctl status # Show service status
nextcloudctl update # Pull latest container image
nextcloudctl occ <cmd> # Run Nextcloud occ command
nextcloudctl logs # View container logs
Features
- File sync and share with web, desktop, and mobile clients
- Calendar and contacts (CalDAV/CardDAV)
- Collaborative document editing
- Docker-based deployment with persistent storage
Dependencies
dockerddockercontainerd
License
Apache-2.0