Renamed general and mode constants and implemented a check to verify that constants are just defined ones over the whole repository

This commit is contained in:
2025-08-13 19:10:44 +02:00
parent 004507e233
commit db0e030900
171 changed files with 474 additions and 345 deletions

View File

@@ -15,7 +15,7 @@ docker:
volumes:
synapse: "matrix_synapse_data"
playbook_tags: "setup-all,start" # For the initial update use: install-all,ensure-matrix-users-created,start
server_name: "{{ primary_domain }}" # Adress for the account names etc.
server_name: "{{ PRIMARY_DOMAIN }}" # Adress for the account names etc.
setup: false # Set true in inventory file to execute the setup and initializing procedures
features:
matomo: false # Deactivated, because in html CSP restricts use
@@ -38,12 +38,12 @@ server:
connect-src:
- "*"
script-src-elem:
- "element.{{ primary_domain }}"
- "element.{{ PRIMARY_DOMAIN }}"
- "https://cdn.jsdelivr.net"
domains:
canonical:
synapse: "matrix.{{ primary_domain }}"
element: "element.{{ primary_domain }}"
synapse: "matrix.{{ PRIMARY_DOMAIN }}"
element: "element.{{ PRIMARY_DOMAIN }}"
client_max_body_size: "15M"
plugins:

View File

@@ -116,7 +116,7 @@
command:
cmd: docker-compose -p "{{ matrix_project }}" pull
chdir: "{{docker_compose.directories.instance}}"
when: mode_update | bool
when: MODE_UPDATE | bool
- name: docker compose up
command:

View File

@@ -5,7 +5,7 @@
"server_name": "{{domains[application_id].synapse}}"
},
"m.identity_server": {
"base_url": "{{ WEB_PROTOCOL }}://{{primary_domain}}"
"base_url": "{{ WEB_PROTOCOL }}://{{PRIMARY_DOMAIN}}"
}
},
"brand": "Element",