Collection of cookbooks for Podman Quadlets
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.
 
 
 
Nicolas Massé 5828e563f8 documentation 2 weeks ago
..
config WiP 4 weeks ago
other WiP 4 weeks ago
sysctl.d/examples implement examples 4 weeks ago
tests add nextcloud 2 months ago
tmpfiles.d WiP 3 weeks ago
Makefile WiP 3 weeks ago
README.md documentation 2 weeks ago
nextcloud-app.container WiP 4 weeks ago
nextcloud-collabora.container WiP 4 weeks ago
nextcloud-cron.container WiP 4 weeks ago
nextcloud-cron.timer WiP 4 weeks ago
nextcloud-init.container simplify uid/gid mapping 1 month ago
nextcloud-nginx.container simplify uid/gid mapping 1 month ago
nextcloud-redis.container simplify uid/gid mapping 1 month ago
nextcloud-upgrade.container simplify uid/gid mapping 1 month ago
nextcloud.target WiP 2 months ago
overlay.bu WiP 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 postgresql cookbook must be installed and running.
  • Configuration file /etc/quadlets/nextcloud/config.env must 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:

  1. nextcloud-redis.service starts the Redis cache.
  2. nextcloud-init.service initializes Nextcloud if needed.
  3. nextcloud-app.service starts the PHP application.
  4. nextcloud-nginx.service starts the web server.
  5. nextcloud-upgrade.service runs any pending upgrades.
  6. 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