nextcloud/roles/server
2024-10-23 20:46:49 +02:00
..
defaults update(server): bump version to 30.0.1 2024-10-23 20:46:49 +02:00
handlers chore: rename roles to reflect upstream naming scheme 2021-10-16 15:14:50 +02:00
meta meta(server): add role metadata 2024-10-04 19:44:33 +02:00
tasks chore(server): retry configure during nextcloud restart 2024-10-04 19:44:28 +02: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.