nextcloud/roles/server
2024-02-04 10:19:35 +01:00
..
defaults update(server): bump version to 27.1.6 2024-02-04 10:19:35 +01:00
handlers chore: rename roles to reflect upstream naming scheme 2021-10-16 15:14:50 +02:00
tasks chore(server): do not leak secrets in ansible task names 2021-11-26 07:55:46 +01:00
templates chore(server): name socket after container name 2022-05-29 09:47:40 +02:00
vars chore(server): populate managed config keys conditionally 2021-10-24 15:59:31 +02:00
README.md update(server): bump version to 25.0.3 2023-02-09 16:30:21 +01:00

finallycoffee.nextcloud.nextcloud ansible role

This role can be used to deploy nextcloud in a docker container, regardless of wether the apache or fpm docker image is used.

It provides various common (optimization) configuration options and creates a user on the host which is mapped into the container, so the host file permissions remain comprehensible.

Configuration

  • nextcloud_socket_path: Setting this (to, for example, {{ nextcloud_basepath }}/socket), will make FPM listen on {{ nextcloud_socket_path }}/nextcloud.sock on the host, enabling you to use FPM to interface with nextcloud.

Redis over UNIX-Socket

Set REDIS_HOST to a path in the container where the socket is mapped using nextcloud_container_extra_environment. Also set REDIS_HOST_PORT to 0 explicitely, as redis.config.php will set it to null otherwise, resulting in an exception. Set your redis password in REDIS_HOST_PASSWORD.