Compare commits
1 Commits
server-25.
...
aa4f62eb92
Author | SHA1 | Date | |
---|---|---|---|
aa4f62eb92
|
@ -15,7 +15,7 @@ and managing nextcloud installations
|
|||||||
server instance. Can install, remove, enable/disable and update apps.
|
server instance. Can install, remove, enable/disable and update apps.
|
||||||
- [`roles/ldap-user-backend`](roles/ldap-user-backend/README.md):
|
- [`roles/ldap-user-backend`](roles/ldap-user-backend/README.md):
|
||||||
Manages LDAP authentication sources in installed nextcloud instances.
|
Manages LDAP authentication sources in installed nextcloud instances.
|
||||||
- [`roles/nginx-fpm-proxy`](roles/nginx-fpm-proxy/README.md):
|
- [`roles/nginx-fpm-proxy`](roles/nginx-fpm-proxy/README.me):
|
||||||
Reverse proxy role which connects to nextcloud using FPM
|
Reverse proxy role which connects to nextcloud using FPM
|
||||||
and serves static content.
|
and serves static content.
|
||||||
|
|
||||||
|
11
galaxy.yml
11
galaxy.yml
@ -1,14 +1,15 @@
|
|||||||
namespace: finallycoffee
|
namespace: finallycoffee
|
||||||
name: nextcloud
|
name: nextcloud
|
||||||
version: 0.5.1
|
version: 0.4.0
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- transcaffeine <transcaffeine@finally.coffee>
|
- Johanna Dorothea Reichmann <transcaffeine@finallycoffee.eu>
|
||||||
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_file: LICENSE.md
|
license:
|
||||||
|
- CNPLv7+
|
||||||
build_ignore:
|
build_ignore:
|
||||||
- '*.tar.gz'
|
- '*.tar.gz'
|
||||||
repository: https://git.finally.coffee/finallycoffee/nextcloud
|
repository: https://git.finallycoffee.eu/finallycoffee.eu/nextcloud
|
||||||
issues: https://git.finally.coffee/finallycoffee/nextcloud/issues
|
issues: https://git.finallycoffee.eu/finallycoffee.eu/nextcloud/issues
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
requires_ansible: ">=2.12"
|
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
nextcloud_nginx_version: "1.23.3"
|
nextcloud_nginx_version: "1.21.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: ~
|
@ -1,12 +1,6 @@
|
|||||||
upstream php-handler {
|
upstream php-handler {
|
||||||
{% if fpm_socket %}
|
{% if fpm_socket %}
|
||||||
{% if fpm_socket is not string %}
|
|
||||||
{% for upstream in fpm_socket %}
|
|
||||||
server unix:{{ upstream }};
|
|
||||||
{% endfor %}
|
|
||||||
{% else %}
|
|
||||||
server unix:{{ fpm_socket }};
|
server unix:{{ fpm_socket }};
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
server {{ fpm_server }}:{{ fpm_server_port }};
|
server {{ fpm_server }}:{{ fpm_server_port }};
|
||||||
{% endif %}
|
{% endif %}
|
@ -12,10 +12,3 @@ 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`.
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
nextcloud_version: 25.0.12
|
nextcloud_version: 22.2.0
|
||||||
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"
|
||||||
@ -47,11 +47,11 @@ 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.group | default(nextcloud_user) }}"
|
group: "{{ nextcloud_user_info.uid|default(nextcloud_user) }}"
|
||||||
- path: "{{ nextcloud_fpm_config_path }}"
|
- path: "{{ nextcloud_fpm_config_path }}"
|
||||||
mode: "0750"
|
mode: "0750"
|
||||||
owner: root
|
owner: root
|
||||||
|
@ -4,7 +4,7 @@ user = www-data
|
|||||||
group = www-data
|
group = www-data
|
||||||
|
|
||||||
{% if nextcloud_socket_path is defined and nextcloud_socket_path is string %}
|
{% if nextcloud_socket_path is defined and nextcloud_socket_path is string %}
|
||||||
listen = {{ nextcloud_container_php_socket_path }}/{{ nextcloud_container_name }}.sock
|
listen = {{ nextcloud_container_php_socket_path }}/nextcloud.sock
|
||||||
listen.owner = www-data
|
listen.owner = www-data
|
||||||
listen.group = www-data
|
listen.group = www-data
|
||||||
listen.mode = 0666
|
listen.mode = 0666
|
||||||
|
Reference in New Issue
Block a user