Compare commits

..

10 Commits

17 changed files with 22 additions and 13 deletions

View File

@ -1,15 +1,14 @@
namespace: finallycoffee namespace: finallycoffee
name: nextcloud name: nextcloud
version: 0.5.0 version: 0.5.1
readme: README.md readme: README.md
authors: authors:
- Johanna Dorothea Reichmann <transcaffeine@finallycoffee.eu> - transcaffeine <transcaffeine@finally.coffee>
description: Installing and configuring nextcloud (and related apps/services) using docker description: Installing and configuring nextcloud (and related apps/services) using docker
dependencies: dependencies:
"community.docker": "^1.10.0" "community.docker": "^1.10.0"
license: license_file: LICENSE.md
- CNPLv7+
build_ignore: build_ignore:
- '*.tar.gz' - '*.tar.gz'
repository: https://git.finallycoffee.eu/finallycoffee.eu/nextcloud repository: https://git.finally.coffee/finallycoffee/nextcloud
issues: https://git.finallycoffee.eu/finallycoffee.eu/nextcloud/issues issues: https://git.finally.coffee/finallycoffee/nextcloud/issues

3
meta/runtime.yml Normal file
View File

@ -0,0 +1,3 @@
---
requires_ansible: ">=2.12"

View File

@ -1,6 +1,6 @@
--- ---
nextcloud_nginx_version: "1.21.3" nextcloud_nginx_version: "1.23.3"
nextcloud_nginx_basepath: /opt/nextcloud-nginx nextcloud_nginx_basepath: /opt/nextcloud-nginx
nextcloud_nginx_config: "{{ nextcloud_nginx_basepath }}/nextcloud.conf" nextcloud_nginx_config: "{{ nextcloud_nginx_basepath }}/nextcloud.conf"
nextcloud_nginx_servernames: ~ nextcloud_nginx_servernames: ~

View File

@ -12,3 +12,10 @@ so the host file permissions remain comprehensible.
- `nextcloud_socket_path`: Setting this (to, for example, `{{ nextcloud_basepath }}/socket`), - `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 will make FPM listen on `{{ nextcloud_socket_path }}/nextcloud.sock` on the host, enabling
you to use FPM to interface with nextcloud. 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`.

View File

@ -1,6 +1,6 @@
--- ---
nextcloud_version: 24.0.6 nextcloud_version: 25.0.12
nextcloud_user: nextcloud nextcloud_user: nextcloud
nextcloud_basepath: /opt/nextcloud nextcloud_basepath: /opt/nextcloud
nextcloud_config_path: "{{ nextcloud_basepath }}/config" nextcloud_config_path: "{{ nextcloud_basepath }}/config"
@ -46,19 +46,19 @@ nextcloud_container_purge_other_networks: true
nextcloud_paths: nextcloud_paths:
- path: "{{ nextcloud_config_path }}" - path: "{{ nextcloud_config_path }}"
mode: "0755" mode: "0755"
owner: "{{ nextcloud_user_info.uid|default(nextcloud_user) }}" owner: "{{ nextcloud_user_info.uid | default(nextcloud_user) }}"
group: "root" group: root
- path: "{{ nextcloud_data_path }}" - path: "{{ nextcloud_data_path }}"
mode: "0755" mode: "0755"
owner: "{{ nextcloud_user_info.uid|default(nextcloud_user) }}" owner: "{{ nextcloud_user_info.uid | default(nextcloud_user) }}"
group: "{{ nextcloud_user_info.uid|default(nextcloud_user) }}" group: "{{ nextcloud_user_info.group | default(nextcloud_user) }}"
- path: "{{ nextcloud_fpm_config_path }}" - path: "{{ nextcloud_fpm_config_path }}"
mode: "0750" mode: "0750"
owner: root owner: root
group: root group: root
- path: "{{ nextcloud_storage_path }}" - path: "{{ nextcloud_storage_path }}"
mode: "0770" mode: "0770"
owner: "{{ nextcloud_user_info.uid|default(nextcloud_user) }}" owner: "{{ nextcloud_user_info.uid | default(nextcloud_user) }}"
group: "root" group: "root"
# PHP OpCache tuning # PHP OpCache tuning