mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Semi bsr for applications[] to prevent heavy to debug bugs in j2 - part 1
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
images:
|
||||
matomo: "matomo:latest"
|
||||
features:
|
||||
# If you want to use Matomo on the Matomo page, you
|
||||
# have to set it here manual to true.
|
||||
@@ -7,7 +5,7 @@ features:
|
||||
# itself wouldn't be possible
|
||||
matomo: false
|
||||
css: false
|
||||
port-ui-desktop: true
|
||||
port-ui-desktop: true
|
||||
central_database: true
|
||||
oauth2: false
|
||||
csp:
|
||||
@@ -34,6 +32,8 @@ excluded_ips: "{{ networks.internet.values() | list }}"
|
||||
|
||||
docker:
|
||||
services:
|
||||
matomo:
|
||||
image: "matomo:latest"
|
||||
database:
|
||||
enabled: true
|
||||
redis:
|
||||
|
@@ -2,7 +2,7 @@
|
||||
application:
|
||||
{% set container_port = 80 %}
|
||||
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
||||
image: "{{ applications[application_id].images['matomo'] }}"
|
||||
image: "{{ applications | get_app_conf(application_id, 'docker.services.matomo.image']', True) }}"
|
||||
ports:
|
||||
- "127.0.0.1:{{ports.localhost.http[application_id]}}:{{ container_port }}"
|
||||
volumes:
|
||||
|
@@ -1,9 +1,9 @@
|
||||
---
|
||||
application_id: "web-app-matomo"
|
||||
database_type: "mariadb"
|
||||
matomo_excluded_ips: "{{ applications[application_id].excluded_ips }}"
|
||||
matomo_excluded_ips: "{{ applications | get_app_conf(application_id, 'excluded_ips', True) }}"
|
||||
matomo_index_php_url: "{{ domains | get_url(application_id, web_protocol) }}/index.php"
|
||||
matomo_auth_token: "{{ applications[application_id].credentials.auth_token }}"
|
||||
matomo_auth_token: "{{ applications | get_app_conf(application_id, 'credentials.auth_token', True) }}"
|
||||
|
||||
|
||||
# I don't know if this is still necessary
|
||||
|
Reference in New Issue
Block a user