2022-07-31 22:00:37 +03:00
# nextcloud-previews
2022-08-01 00:38:14 +03:00
## Nextcloud container with preinstalled video preview generation
These are container images built using the official Nextcloud Apache images as
2023-04-04 21:17:03 +03:00
source, adding the required packages to generate video previews.
2023-11-02 22:03:25 +02:00
A daily build runs from the master branch. [![Automatic Build ](https://github.com/0ranki/nextcloud-previews/actions/workflows/daily.yml/badge.svg )](https://github.com/0ranki/nextcloud-previews/actions/workflows/daily.yml)
2023-05-25 20:53:22 +03:00
2023-11-02 21:48:38 +02:00
I strongly recommend using a specific major version in your docker-compose, kube YAML files or scripts. This will avoid accidentally updating your instance.
2023-05-25 20:53:22 +03:00
2023-11-30 20:09:15 +02:00
### Update to the image name
Starting from version 27.1.4 the image is the same as the repo, ** `ghcr.io/0ranki/nextcloud-previews` **
The old `ghcr.io/0ranki/nextcloud-previews/nextcloud` still works, but pushes will stop at some point in the future.
2022-08-01 00:38:14 +03:00
## Usage
2023-11-02 21:48:38 +02:00
[Running using Podman Kube YAML ](PODMAN.md )
[Running the Podman pod as a service with systemd ](SYSTEMD.md )
2023-11-02 22:03:25 +02:00
For detailed instructions on using these images, go to https://github.com/nextcloud/docker
2022-08-01 00:38:14 +03:00
and https://docs.nextcloud.com/.
2023-11-30 20:09:15 +02:00
Simply use `ghcr.io/0ranki/nextcloud-previews:<version>`
2023-05-25 20:53:22 +03:00
instead of `docker.io/library/nextcloud` .
2023-11-02 21:48:38 +02:00
### `latest` currently points to 27.1.x
2022-08-01 00:38:14 +03:00
2023-11-30 20:09:15 +02:00
To pull e.g. version 27.1.4:
2022-08-01 00:38:14 +03:00
```
2023-11-30 20:09:15 +02:00
podman pull ghcr.io/0ranki/nextcloud-previews:27.1.4
2022-08-01 00:38:14 +03:00
```
The images have a convenience script installed that modifies `config.php` to actually
2022-08-01 00:44:08 +03:00
enable the video preview generation. To use it, finish the first run wizard first, then
2022-08-01 00:38:14 +03:00
```
podman run < name-of-nc-container > enable-previews
```
if using podman. If using docker substitute `podman` with `docker` . The script makes
a backup copy of `config.php` starting from versions 23.0.7 and 24.0.3 (noticed that
feature missing a bit late)
## Disclaimer
Nextcloud is a registered trademark of Nextcloud GmbH, and I am in no way affiliated
2022-09-14 00:10:44 +03:00
with them. These images are built for personal use and for learning GitHub actions.