You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 weeks ago | |
|---|---|---|
| .. | ||
| config | 4 weeks ago | |
| other | 3 weeks ago | |
| sysctl.d/examples | 4 weeks ago | |
| tests | 2 months ago | |
| tmpfiles.d | 3 weeks ago | |
| Makefile | 3 weeks ago | |
| README.md | 2 weeks ago | |
| nextcloud-app.container | 4 weeks ago | |
| nextcloud-collabora.container | 4 weeks ago | |
| nextcloud-cron.container | 4 weeks ago | |
| nextcloud-cron.timer | 4 weeks ago | |
| nextcloud-init.container | 1 month ago | |
| nextcloud-nginx.container | 1 month ago | |
| nextcloud-redis.container | 1 month ago | |
| nextcloud-upgrade.container | 1 month ago | |
| nextcloud.target | 2 months ago | |
| overlay.bu | 4 weeks ago | |
README.md
Podman Quadlet: Nextcloud
Overview
Nextcloud is a self-hosted file sync and share platform started as a Podman Quadlet. It provides cloud storage, collaboration, and productivity features.
This cookbook runs a complete Nextcloud stack:
- nextcloud-app: The main Nextcloud PHP application.
- nextcloud-nginx: Nginx web server to serve Nextcloud.
- nextcloud-redis: Redis for caching and session management.
- nextcloud-init: Initializes the Nextcloud installation.
- nextcloud-upgrade: Handles Nextcloud version upgrades.
- nextcloud-cron: Scheduled background jobs via timer.
- nextcloud-collabora: Optional Collabora Online for document editing.
This cookbook uses PostgreSQL as the database backend (requires the postgresql cookbook).
Prerequisites
- The
postgresqlcookbook must be installed and running. - Configuration file
/etc/quadlets/nextcloud/config.envmust exist.
Usage
In a separate terminal, follow the logs.
sudo make tail-logs
Install the Podman Quadlets and start Nextcloud.
sudo make clean install
You should see the services starting in order:
- nextcloud-redis.service starts the Redis cache.
- nextcloud-init.service initializes Nextcloud if needed.
- nextcloud-app.service starts the PHP application.
- nextcloud-nginx.service starts the web server.
- nextcloud-upgrade.service runs any pending upgrades.
- nextcloud-cron.timer schedules background jobs.
Access Nextcloud at http://127.0.0.1/.
Restart the nextcloud.target unit.
sudo systemctl restart nextcloud.target
To manually run background jobs:
sudo systemctl start nextcloud-cron.service
Finally, remove the quadlets, their configuration and their data.
sudo make uninstall clean
Integration tests
sudo make test