A custom, multi-architecture Docker image for Nextcloud, optimized for real-world deployments. This image includes built-in support for SMB external storage, scheduled background jobs via cron, and provides a separate image for notify_push to enable real-time updates.
- โ
Multi-Architecture Support: Works on
amd64,arm64, etc. - ๐ SMB External Storage: Ready to mount and use SMB shares out of the box.
- โฑ๏ธ Built-in Cron: No need for external schedulersโcron is handled internally.
- ๐ Separate
notify_pushImage: Production-grade support for real-time file change notifications. - ๐ณ Supervisor-based Process Management: Manages background services cleanly.
NextCloud.Dockerfile: Builds the main Nextcloud image with cron and SMB support.Notify_Push.Dockerfile: Builds a minimal image containing only thenotify_pushbinary.supervisord.conf: Runs Apache and cron processes within the same container..github/workflows/: GitHub Actions workflow to build and optionally push images..gitignore: Standard exclusions for version control hygiene.
docker build -f NextCloud.Dockerfile -t my-nextcloud .
docker run -d \
--name nextcloud \
-p 8080:80 \
-v nextcloud_data:/var/www/html \
my-nextcloudAccess via http://localhost:8080
โน๏ธ External SMB storage can be added via Nextcloudโs admin settings under External Storage.
The repository also includes a lightweight image specifically for notify_push.
##Build notify_push Image
docker build -f Notify_Push.Dockerfile -t my-notify_push .