Optimized networking and matomo

This commit is contained in:
2025-02-11 04:49:21 +01:00
parent 5cb1aa45ad
commit 60c84d57ba
15 changed files with 77 additions and 50 deletions

View File

@@ -3,3 +3,4 @@
command:
cmd: "docker exec {{nextcloud_nginx_container_name}} nginx -s reload"
listen: restart docker nginx service
ignore_errors: true # Ignoring if container is restarting

View File

@@ -25,6 +25,6 @@
include_tasks: oidc.yml
when: oidc.enabled | bool
- name: Include LDAP specific tasks
include_tasks: ldap.yml
when: ldap.enabled | bool
#- name: Include LDAP specific tasks
# include_tasks: ldap.yml
# when: ldap.enabled | bool

View File

@@ -17,6 +17,7 @@ services:
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
{% include 'templates/docker/container/networks.yml.j2' %}
ipv4_address: 192.168.102.66
web:
image: nginx:alpine
@@ -35,7 +36,9 @@ services:
interval: 1m
timeout: 10s
retries: 3
{% include 'templates/docker/container/networks.yml.j2' %}
networks:
default:
ipv4_address: 192.168.102.67
cron:
container_name: nextcloud-cron
@@ -53,6 +56,7 @@ services:
retries: 3
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
{% include 'templates/docker/container/networks.yml.j2' %}
ipv4_address: 192.168.102.68
{% include 'templates/docker/compose/volumes.yml.j2' %}
data: