Optimized variable typos

This commit is contained in:
Kevin Veen-Birkenbach 2025-08-15 18:43:42 +02:00
parent 85a2f4b3d2
commit 3ac9bd9f90
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
33 changed files with 101 additions and 101 deletions

View File

@ -1,5 +1,5 @@
MYSQL_DATABASE="{{database_name}}" MYSQL_DATABASE="{{ database_name }}"
MYSQL_USER="{{database_username}}" MYSQL_USER="{{ database_username }}"
MYSQL_PASSWORD="{{database_password}}" MYSQL_PASSWORD="{{ database_password }}"
MYSQL_ROOT_PASSWORD="{{database_password}}" MYSQL_ROOT_PASSWORD="{{ database_password }}"
MARIADB_AUTO_UPGRADE="1" MARIADB_AUTO_UPGRADE="1"

View File

@ -1,4 +1,4 @@
POSTGRES_PASSWORD={{database_password}} POSTGRES_PASSWORD={{ database_password }}
POSTGRES_USER={{database_username}} POSTGRES_USER={{ database_username }}
POSTGRES_DB={{database_name}} POSTGRES_DB={{ database_name }}
POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale=C POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale=C

View File

@ -8,7 +8,7 @@
- {{database_env}} - {{database_env}}
restart: {{ DOCKER_RESTART_POLICY }} restart: {{ DOCKER_RESTART_POLICY }}
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready -U {{database_name}}"] test: ["CMD-SHELL", "pg_isready -U {{ database_name }}"]
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 6 retries: 6

View File

@ -15,5 +15,5 @@ database_password: "{{ applications | get_app_conf(database_application_id, 'cr
database_port: "{{ (ports.localhost.database[_database_id] | d('')) if _dbtype else '' }}" database_port: "{{ (ports.localhost.database[_database_id] | d('')) if _dbtype else '' }}"
database_env: "{{docker_compose.directories.env}}{{ database_type }}.env" database_env: "{{docker_compose.directories.env}}{{ database_type }}.env"
database_url_jdbc: "jdbc:{{ database_type if database_type == 'mariadb' else 'postgresql' }}://{{ database_host }}:{{ database_port }}/{{ database_name }}" database_url_jdbc: "jdbc:{{ database_type if database_type == 'mariadb' else 'postgresql' }}://{{ database_host }}:{{ database_port }}/{{ database_name }}"
database_url_full: "{{ database_type }}://{{database_username}}:{{database_password}}@{{database_host}}:{{database_port}}/{{ database_name }}" database_url_full: "{{ database_type }}://{{ database_username }}:{{ database_password }}@{{ database_host }}:{{database_port}}/{{ database_name }}"
database_volume: "{{ _database_consumer_entity_name ~ '_' if not _database_central_enabled }}{{ database_host }}" database_volume: "{{ _database_consumer_entity_name ~ '_' if not _database_central_enabled }}{{ database_host }}"

View File

@ -11,10 +11,10 @@
- name: "Create database user: {{ database_username }}" - name: "Create database user: {{ database_username }}"
community.mysql.mysql_user: community.mysql.mysql_user:
name: "{{database_username}}" name: "{{ database_username }}"
password: "{{database_password}}" password: "{{ database_password }}"
host: "%" host: "%"
priv: '{{database_name}}.*:ALL' priv: '{{ database_name }}.*:ALL'
state: present state: present
login_user: root login_user: root
login_password: "{{mariadb_root_pwd}}" login_password: "{{mariadb_root_pwd}}"
@ -25,6 +25,6 @@
# @todo Remove if this works fine in the future. # @todo Remove if this works fine in the future.
#- name: Grant database privileges #- name: Grant database privileges
# ansible.builtin.shell: # ansible.builtin.shell:
# cmd: "docker exec {{mariadb_name }} mariadb -u root -p{{ mariadb_root_pwd }} -e \"GRANT ALL PRIVILEGES ON `{{database_name}}`.* TO '{{database_username}}'@'%';\"" # cmd: "docker exec {{mariadb_name }} mariadb -u root -p{{ mariadb_root_pwd }} -e \"GRANT ALL PRIVILEGES ON `{{ database_name }}`.* TO '{{ database_username }}'@'%';\""
# args: # args:
# executable: /bin/bash # executable: /bin/bash

View File

@ -3,12 +3,12 @@ APP_URL={{ domains | get_url(application_id, WEB_PROTOCOL) }}
LOCALE={{ HOST_LL }} LOCALE={{ HOST_LL }}
# Don't change this unless you rename your database container or use rootless podman, in case of using rootless podman you should set it to 127.0.0.1 (NOT localhost) # Don't change this unless you rename your database container or use rootless podman, in case of using rootless podman you should set it to 127.0.0.1 (NOT localhost)
DB_HOST={{database_host}} DB_HOST={{ database_host }}
# Change these to match env/db.env # Change these to match env/db.env
DB_DATABASE={{database_name}} DB_DATABASE={{ database_name }}
DB_USERNAME={{database_username}} DB_USERNAME={{ database_username }}
DB_PASSWORD={{database_password}} DB_PASSWORD={{ database_password }}
# You should change this to a random string of three numbers or letters followed by an underscore # You should change this to a random string of three numbers or letters followed by an underscore
DB_PREFIX=asd_ DB_PREFIX=asd_

View File

@ -203,9 +203,9 @@ ALLOW_GREENLIGHT_ACCOUNTS=true
# Emails are required for the basic features of Greenlight to function. # Emails are required for the basic features of Greenlight to function.
# Please refer to your SMTP provider to get the values for the variables below # Please refer to your SMTP provider to get the values for the variables below
SMTP_SERVER={{system_email.host}} SMTP_SERVER={{ system_email.host }}
SMTP_DOMAIN={{system_email.domain}} SMTP_DOMAIN={{system_email.domain}}
SMTP_PORT={{system_email.port}} SMTP_PORT={{ system_email.port }}
SMTP_USERNAME={{ users['no-reply'].email }} SMTP_USERNAME={{ users['no-reply'].email }}
SMTP_PASSWORD={{ users['no-reply'].mailu_token }} SMTP_PASSWORD={{ users['no-reply'].mailu_token }}
SMTP_AUTH=plain SMTP_AUTH=plain

View File

@ -8,7 +8,7 @@ PDS_JWT_SECRET="{{ bluesky_jwt_secret }}"
PDS_ADMIN_PASSWORD="{{bluesky_admin_password}}" PDS_ADMIN_PASSWORD="{{bluesky_admin_password}}"
PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX="{{ bluesky_rotation_key }}" PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX="{{ bluesky_rotation_key }}"
PDS_CRAWLERS=https://bsky.network PDS_CRAWLERS=https://bsky.network
PDS_EMAIL_SMTP_URL=smtps://{{ users['no-reply'].email }}:{{ users['no-reply'].mailu_token }}@{{system_email.host}}:{{system_email.port}}/ PDS_EMAIL_SMTP_URL=smtps://{{ users['no-reply'].email }}:{{ users['no-reply'].mailu_token }}@{{ system_email.host }}:{{ system_email.port }}/
PDS_EMAIL_FROM_ADDRESS={{ users['no-reply'].email }} PDS_EMAIL_FROM_ADDRESS={{ users['no-reply'].email }}
LOG_ENABLED=true LOG_ENABLED=true
PDS_BLOBSTORE_DISK_LOCATION=/opt/pds/blocks PDS_BLOBSTORE_DISK_LOCATION=/opt/pds/blocks

View File

@ -59,7 +59,7 @@ DJANGO_LOGLEVEL={% if MODE_DEBUG | bool %}debug{% else %}error{% endif %}
# (returns `noreply%40youremail.host`) # (returns `noreply%40youremail.host`)
# EMAIL_CONFIG=smtp://user:password@youremail.host:25 # EMAIL_CONFIG=smtp://user:password@youremail.host:25
# EMAIL_CONFIG=smtp+ssl://user:password@youremail.host:465 # EMAIL_CONFIG=smtp+ssl://user:password@youremail.host:465
EMAIL_CONFIG=smtp+tls://{{ users['no-reply'].username }}:{{ users['no-reply'].mailu_token }}@{{system_email.host}}:{{system_email.port}} EMAIL_CONFIG=smtp+tls://{{ users['no-reply'].username }}:{{ users['no-reply'].mailu_token }}@{{ system_email.host }}:{{ system_email.port }}
# Make e-mail verification mandatory before using the service # Make e-mail verification mandatory before using the service
# Doesn't apply to admins. # Doesn't apply to admins.

View File

@ -15,10 +15,10 @@ GITEA__log__LEVEL={% if MODE_DEBUG | bool %}Debug{% else %}Info{% endif %}
# Database # Database
DB_TYPE=mysql DB_TYPE=mysql
DB_HOST={{database_host}}:{{database_port}} DB_HOST={{ database_host }}:{{database_port}}
DB_NAME={{database_name}} DB_NAME={{ database_name }}
DB_USER={{database_username}} DB_USER={{ database_username }}
DB_PASSWD={{database_password}} DB_PASSWD={{ database_password }}
# SSH # SSH
SSH_PORT={{ports.public.ssh[application_id]}} SSH_PORT={{ports.public.ssh[application_id]}}

View File

@ -1,4 +1,4 @@
JOOMLA_DB_HOST="{{database_host}}:{{database_port}}" JOOMLA_DB_HOST="{{ database_host }}:{{database_port}}"
JOOMLA_DB_USER="{{database_username}}" JOOMLA_DB_USER="{{ database_username }}"
JOOMLA_DB_PASSWORD="{{database_password}}" JOOMLA_DB_PASSWORD="{{ database_password }}"
JOOMLA_DB_NAME="{{database_name}}" JOOMLA_DB_NAME="{{ database_name }}"

View File

@ -17,8 +17,8 @@ KEYCLOAK_ADMIN_PASSWORD= "{{applications | get_app_conf(application_id, '
# Database # Database
KC_DB= postgres KC_DB= postgres
KC_DB_URL= {{database_url_jdbc}} KC_DB_URL= {{database_url_jdbc}}
KC_DB_USERNAME= {{database_username}} KC_DB_USERNAME= {{ database_username }}
KC_DB_PASSWORD= {{database_password}} KC_DB_PASSWORD= {{ database_password }}
# If the initial administrator already exists and the environment variables are still present at startup, an error message stating the failed creation of the initial administrator is shown in the logs. Keycloak ignores the values and starts up correctly. # If the initial administrator already exists and the environment variables are still present at startup, an error message stating the failed creation of the initial administrator is shown in the logs. Keycloak ignores the values and starts up correctly.
KC_BOOTSTRAP_ADMIN_USERNAME= "{{applications | get_app_conf(application_id, 'users.administrator.username', True)}}" KC_BOOTSTRAP_ADMIN_USERNAME= "{{applications | get_app_conf(application_id, 'users.administrator.username', True)}}"

View File

@ -1681,9 +1681,9 @@
"replyToDisplayName": "", "replyToDisplayName": "",
"starttls": "{{system_email.start_tls | lower}}", "starttls": "{{system_email.start_tls | lower}}",
"auth": "true", "auth": "true",
"port": "{{system_email.port}}", "port": "{{ system_email.port }}",
"replyTo": "", "replyTo": "",
"host": "{{system_email.host}}", "host": "{{ system_email.host }}",
"from": "{{ users['no-reply'].email }}", "from": "{{ users['no-reply'].email }}",
"fromDisplayName": "Keycloak Authentification System - {{domains | get_domain('web-app-keycloak')}}", "fromDisplayName": "Keycloak Authentification System - {{domains | get_domain('web-app-keycloak')}}",
"envelopeFrom": "", "envelopeFrom": "",

View File

@ -19,7 +19,7 @@
- meta: flush_handlers - meta: flush_handlers
- name: Check if listmonk database is already initialized - name: Check if listmonk database is already initialized
command: docker compose exec -T {{database_host}} psql -U {{database_username}} -d {{database_name}} -c "\dt" command: docker compose exec -T {{ database_host }} psql -U {{ database_username }} -d {{ database_name }} -c "\dt"
register: db_tables register: db_tables
changed_when: false changed_when: false
failed_when: false failed_when: false

View File

@ -7,13 +7,13 @@ address = "0.0.0.0:{{ container_port }}"
# Database. # Database.
[db] [db]
host = "{{database_host}}" host = "{{ database_host }}"
port = {{database_port}} port = {{database_port}}
user = "{{database_username}}" user = "{{ database_username }}"
password = "{{database_password}}" password = "{{ database_password }}"
# Ensure that this database has been created in Postgres. # Ensure that this database has been created in Postgres.
database = "{{database_name}}" database = "{{ database_name }}"
ssl_mode = "disable" ssl_mode = "disable"
max_open = 25 max_open = 25

View File

@ -141,8 +141,8 @@ LOG_LEVEL=WARNING
################################### ###################################
# Database settings # Database settings
################################### ###################################
SQLALCHEMY_DATABASE_URI_ROUNDCUBE=mysql://{{database_username}}:{{database_password}}@{{database_host}}/{{database_name}}?collation=utf8mb4_unicode_ci SQLALCHEMY_DATABASE_URI_ROUNDCUBE=mysql://{{ database_username }}:{{ database_password }}@{{ database_host }}/{{ database_name }}?collation=utf8mb4_unicode_ci
SQLALCHEMY_DATABASE_URI=mysql+mysqlconnector://{{database_username}}:{{database_password}}@{{database_host}}/{{database_name}}?collation=utf8mb4_unicode_ci SQLALCHEMY_DATABASE_URI=mysql+mysqlconnector://{{ database_username }}:{{ database_password }}@{{ database_host }}/{{ database_name }}?collation=utf8mb4_unicode_ci
################################### ###################################

View File

@ -43,8 +43,8 @@ REDIS_HOST=redis
REDIS_PORT=6379 REDIS_PORT=6379
REDIS_PASSWORD= REDIS_PASSWORD=
SMTP_SERVER={{system_email.host}} SMTP_SERVER={{ system_email.host }}
SMTP_PORT={{system_email.port}} SMTP_PORT={{ system_email.port }}
SMTP_LOGIN={{ users['no-reply'].email }} SMTP_LOGIN={{ users['no-reply'].email }}
SMTP_PASSWORD={{ users['no-reply'].mailu_token }} SMTP_PASSWORD={{ users['no-reply'].mailu_token }}
SMTP_AUTH_METHOD=plain SMTP_AUTH_METHOD=plain

View File

@ -4,7 +4,7 @@
# - database_name # - database_name
# - database_username # - database_username
# - database_password # - database_password
- name: "create {{database_name}} database" - name: "create {{ database_name }} database"
include_role: include_role:
name: "svc-db-{{ database_type }}" name: "svc-db-{{ database_type }}"
when: applications | get_app_conf(application_id, 'features.central_database', False) when: applications | get_app_conf(application_id, 'features.central_database', False)

View File

@ -39,7 +39,7 @@ appservice:
# Format examples: # Format examples:
# SQLite: sqlite:filename.db # SQLite: sqlite:filename.db
# Postgres: postgres://username:password@hostname/dbname # Postgres: postgres://username:password@hostname/dbname
database: postgres://mautrix_facebook_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_facebook_bridge_database_password', True)}}@{{database_host}}/mautrix_facebook_bridge database: postgres://mautrix_facebook_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_facebook_bridge_database_password', True)}}@{{ database_host }}/mautrix_facebook_bridge
# Additional arguments for asyncpg.create_pool() or sqlite3.connect() # Additional arguments for asyncpg.create_pool() or sqlite3.connect()
# https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool # https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool
# https://docs.python.org/3/library/sqlite3.html#sqlite3.connect # https://docs.python.org/3/library/sqlite3.html#sqlite3.connect

View File

@ -42,7 +42,7 @@ appservice:
# Format examples: # Format examples:
# SQLite: sqlite:filename.db # SQLite: sqlite:filename.db
# Postgres: postgres://username:password@hostname/dbname # Postgres: postgres://username:password@hostname/dbname
database: postgres://mautrix_instagram_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_instagram_bridge_database_password', True)}}@{{database_host}}/mautrix_instagram_bridge database: postgres://mautrix_instagram_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_instagram_bridge_database_password', True)}}@{{ database_host }}/mautrix_instagram_bridge
# Additional arguments for asyncpg.create_pool() or sqlite3.connect() # Additional arguments for asyncpg.create_pool() or sqlite3.connect()
# https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool # https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool
# https://docs.python.org/3/library/sqlite3.html#sqlite3.connect # https://docs.python.org/3/library/sqlite3.html#sqlite3.connect

View File

@ -43,7 +43,7 @@ appservice:
# https://github.com/mattn/go-sqlite3#connection-string # https://github.com/mattn/go-sqlite3#connection-string
# Postgres: Connection string. For example, postgres://user:password@host/database?sslmode=disable # Postgres: Connection string. For example, postgres://user:password@host/database?sslmode=disable
# To connect via Unix socket, use something like postgres:///dbname?host=/var/run/postgresql # To connect via Unix socket, use something like postgres:///dbname?host=/var/run/postgresql
uri: postgres://mautrix_signal_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_signal_bridge_database_password', True)}}@{{database_host}}/mautrix_signal_bridge?sslmode=disable uri: postgres://mautrix_signal_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_signal_bridge_database_password', True)}}@{{ database_host }}/mautrix_signal_bridge?sslmode=disable
# Maximum number of connections. Mostly relevant for Postgres. # Maximum number of connections. Mostly relevant for Postgres.
max_open_conns: 20 max_open_conns: 20
max_idle_conns: 2 max_idle_conns: 2

View File

@ -43,7 +43,7 @@ appservice:
# https://github.com/mattn/go-sqlite3#connection-string # https://github.com/mattn/go-sqlite3#connection-string
# Postgres: Connection string. For example, postgres://user:password@host/database?sslmode=disable # Postgres: Connection string. For example, postgres://user:password@host/database?sslmode=disable
# To connect via Unix socket, use something like postgres:///dbname?host=/var/run/postgresql # To connect via Unix socket, use something like postgres:///dbname?host=/var/run/postgresql
uri: postgres://mautrix_slack_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_slack_bridge_database_password', True)}}@{{database_host}}/mautrix_slack_bridge?sslmode=disable uri: postgres://mautrix_slack_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_slack_bridge_database_password', True)}}@{{ database_host }}/mautrix_slack_bridge?sslmode=disable
# Maximum number of connections. Mostly relevant for Postgres. # Maximum number of connections. Mostly relevant for Postgres.
max_open_conns: 20 max_open_conns: 20
max_idle_conns: 2 max_idle_conns: 2

View File

@ -42,7 +42,7 @@ appservice:
# Format examples: # Format examples:
# SQLite: sqlite:filename.db # SQLite: sqlite:filename.db
# Postgres: postgres://username:password@hostname/dbname # Postgres: postgres://username:password@hostname/dbname
database: postgres://mautrix_telegram_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_telegram_bridge_database_password', True)}}@{{database_host}}/mautrix_telegram_bridge database: postgres://mautrix_telegram_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_telegram_bridge_database_password', True)}}@{{ database_host }}/mautrix_telegram_bridge
# Additional arguments for asyncpg.create_pool() or sqlite3.connect() # Additional arguments for asyncpg.create_pool() or sqlite3.connect()
# https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool # https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool
# https://docs.python.org/3/library/sqlite3.html#sqlite3.connect # https://docs.python.org/3/library/sqlite3.html#sqlite3.connect

View File

@ -42,7 +42,7 @@ appservice:
# https://github.com/mattn/go-sqlite3#connection-string # https://github.com/mattn/go-sqlite3#connection-string
# Postgres: Connection string. For example, postgres://user:password@host/database?sslmode=disable # Postgres: Connection string. For example, postgres://user:password@host/database?sslmode=disable
# To connect via Unix socket, use something like postgres:///dbname?host=/var/run/postgresql # To connect via Unix socket, use something like postgres:///dbname?host=/var/run/postgresql
uri: postgres://mautrix_whatsapp_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_whatsapp_bridge_database_password', True)}}@{{database_host}}/mautrix_whatsapp_bridge?sslmode=disable uri: postgres://mautrix_whatsapp_bridge:{{applications | get_app_conf(application_id, 'credentials.mautrix_whatsapp_bridge_database_password', True)}}@{{ database_host }}/mautrix_whatsapp_bridge?sslmode=disable
# Maximum number of connections. Mostly relevant for Postgres. # Maximum number of connections. Mostly relevant for Postgres.
max_open_conns: 20 max_open_conns: 20
max_idle_conns: 2 max_idle_conns: 2

View File

@ -12,18 +12,18 @@ listeners:
database: database:
name: psycopg2 name: psycopg2
args: args:
user: "{{database_username}}" user: "{{ database_username }}"
password: "{{database_password}}" password: "{{ database_password }}"
database: "{{database_name}}" database: "{{ database_name }}"
host: "{{database_host}}" host: "{{ database_host }}"
cp_min: 5 cp_min: 5
cp_max: 10 cp_max: 10
log_config: "{{ MATRIX_SYNAPSE_LOG_PATH_CONTAINER }}" log_config: "{{ MATRIX_SYNAPSE_LOG_PATH_CONTAINER }}"
media_store_path: "/data/media_store" media_store_path: "/data/media_store"
registration_shared_secret: "{{ MATRIX_REGISTRATION_SHARED_SECRET }}" registration_shared_secret: "{{ MATRIX_REGISTRATION_SHARED_SECRET }}"
report_stats: true report_stats: true
macaroon_secret_key: "{{applications | get_app_conf(application_id, 'credentials.macaroon_secret_key', True)}}" macaroon_secret_key: "{{ applications | get_app_conf(application_id, 'credentials.macaroon_secret_key') }}"
form_secret: "{{applications | get_app_conf(application_id, 'credentials.form_secret', True)}}" form_secret: "{{ applications | get_app_conf(application_id, 'credentials.form_secret') }}"
signing_key_path: "/data/{{ MATRIX_SYNAPSE_DOMAIN }}.signing.key" signing_key_path: "/data/{{ MATRIX_SYNAPSE_DOMAIN }}.signing.key"
web_client_location: "{{ WEB_PROTOCOL }}://{{domains[application_id].element}}" web_client_location: "{{ WEB_PROTOCOL }}://{{domains[application_id].element}}"
public_baseurl: "{{ MATRIX_SYNAPSE_URL }}" public_baseurl: "{{ MATRIX_SYNAPSE_URL }}"
@ -32,8 +32,8 @@ trusted_key_servers:
admin_contact: 'mailto:{{ users.administrator.email }}' admin_contact: 'mailto:{{ users.administrator.email }}'
email: email:
smtp_host: "{{system_email.host}}" smtp_host: "{{ system_email.host }}"
smtp_port: "{{system_email.port}}" smtp_port: "{{ system_email.port }}"
smtp_user: "{{ users['no-reply'].email }}" smtp_user: "{{ users['no-reply'].email }}"
smtp_pass: "{{ users['no-reply'].mailu_token }}" smtp_pass: "{{ users['no-reply'].mailu_token }}"
#force_tls: true #force_tls: true
@ -49,7 +49,7 @@ email:
{% if applications | get_app_conf(application_id, 'features.oidc', False) %} {% if applications | get_app_conf(application_id, 'features.oidc', False) %}
# @See https://matrix-org.github.io/synapse/latest/openid.html # @See https://matrix-org.github.io/synapse/latest/openid.html
oidc_providers: oidc_providers:
- idp_id: keycloak - idp_id: keycloak
idp_name: "{{ oidc.button_text }}" idp_name: "{{ oidc.button_text }}"
issuer: "{{ oidc.client.issuer_url }}" issuer: "{{ oidc.client.issuer_url }}"
client_id: "{{ oidc.client.id }}" client_id: "{{ oidc.client.id }}"

View File

@ -81,8 +81,8 @@ MOBILIZON_INSTANCE_SECRET_KEY={{ applications | get_app_conf(application_id, 'cr
# The SMTP server # The SMTP server
# Defaults to localhost # Defaults to localhost
MOBILIZON_SMTP_SERVER={{system_email.host}} MOBILIZON_SMTP_SERVER={{ system_email.host }}
MOBILIZON_SMTP_PORT={{system_email.port}} MOBILIZON_SMTP_PORT={{ system_email.port }}
MOBILIZON_SMTP_USERNAME={{ users['no-reply'].email }} MOBILIZON_SMTP_USERNAME={{ users['no-reply'].email }}
MOBILIZON_SMTP_PASSWORD={{ users['no-reply'].mailu_token }} MOBILIZON_SMTP_PASSWORD={{ users['no-reply'].mailu_token }}

View File

@ -10,11 +10,11 @@ MOODLE_EMAIL={{applications | get_app_conf(application_id, 'users.administrator.
BITNAMI_DEBUG={% if MODE_DEBUG | bool %}true{% else %}false{% endif %} BITNAMI_DEBUG={% if MODE_DEBUG | bool %}true{% else %}false{% endif %}
# Database # Database
MOODLE_DATABASE_HOST={{database_host}} MOODLE_DATABASE_HOST={{ database_host }}
MOODLE_DATABASE_PORT_NUMBER={{database_port}} MOODLE_DATABASE_PORT_NUMBER={{database_port}}
MOODLE_DATABASE_USER={{database_username}} MOODLE_DATABASE_USER={{ database_username }}
MOODLE_DATABASE_NAME={{database_name}} MOODLE_DATABASE_NAME={{ database_name }}
MOODLE_DATABASE_PASSWORD={{database_password}} MOODLE_DATABASE_PASSWORD={{ database_password }}
# SMTP # SMTP
MOODLE_SMTP_HOST={{ system_email.host }} MOODLE_SMTP_HOST={{ system_email.host }}

View File

@ -2,10 +2,10 @@
# @See https://github.com/nextcloud/docker/blob/master/README.md # @See https://github.com/nextcloud/docker/blob/master/README.md
# Database Configuration # Database Configuration
MYSQL_DATABASE= "{{database_name}}" MYSQL_DATABASE= "{{ database_name }}"
MYSQL_USER= "{{database_username}}" MYSQL_USER= "{{ database_username }}"
MYSQL_PASSWORD= "{{database_password}}" MYSQL_PASSWORD= "{{ database_password }}"
MYSQL_HOST= "{{database_host}}:{{database_port}}" MYSQL_HOST= "{{ database_host }}:{{database_port}}"
# PHP # PHP
PHP_MEMORY_LIMIT= "{{applications | get_app_conf(application_id, 'performance.php.memory_limit')}}" PHP_MEMORY_LIMIT= "{{applications | get_app_conf(application_id, 'performance.php.memory_limit')}}"
@ -13,9 +13,9 @@ PHP_UPLOAD_LIMIT= "{{applications | get_app_conf(application_id, '
PHP_OPCACHE_MEMORY_CONSUMPTION= "{{applications | get_app_conf(application_id, 'performance.php.opcache_memory_consumption')}}" PHP_OPCACHE_MEMORY_CONSUMPTION= "{{applications | get_app_conf(application_id, 'performance.php.opcache_memory_consumption')}}"
# Email Configuration # Email Configuration
SMTP_HOST= {{system_email.host}} SMTP_HOST= {{ system_email.host }}
SMTP_SECURE= {{ 'ssl' if system_email.tls else '' }} SMTP_SECURE= {{ 'ssl' if system_email.tls else '' }}
SMTP_PORT= {{system_email.port}} SMTP_PORT= {{ system_email.port }}
SMTP_NAME= {{ users['no-reply'].email }} SMTP_NAME= {{ users['no-reply'].email }}
SMTP_PASSWORD= {{ users['no-reply'].mailu_token }} SMTP_PASSWORD= {{ users['no-reply'].mailu_token }}

View File

@ -1,11 +1,11 @@
# Database / Postgres service configuration # Database / Postgres service configuration
POSTGRES_USER={{database_username}} POSTGRES_USER={{ database_username }}
POSTGRES_PASSWORD={{database_password}} POSTGRES_PASSWORD={{ database_password }}
POSTGRES_DB={{database_name}} POSTGRES_DB={{ database_name }}
PEERTUBE_DB_USERNAME={{database_username}} PEERTUBE_DB_USERNAME={{ database_username }}
PEERTUBE_DB_PASSWORD={{database_password}} PEERTUBE_DB_PASSWORD={{ database_password }}
PEERTUBE_DB_SSL=false PEERTUBE_DB_SSL=false
PEERTUBE_DB_HOSTNAME={{database_host}} PEERTUBE_DB_HOSTNAME={{ database_host }}
# PeerTube server configuration # PeerTube server configuration
PEERTUBE_WEBSERVER_HOSTNAME={{ domains | get_domain(application_id) }} PEERTUBE_WEBSERVER_HOSTNAME={{ domains | get_domain(application_id) }}
@ -16,8 +16,8 @@ PEERTUBE_SECRET={{applications | get_app_conf(application_id, 'credentials.secre
# E-mail configuration # E-mail configuration
PEERTUBE_SMTP_USERNAME={{ users['no-reply'].email }} PEERTUBE_SMTP_USERNAME={{ users['no-reply'].email }}
PEERTUBE_SMTP_PASSWORD={{ users['no-reply'].mailu_token }} PEERTUBE_SMTP_PASSWORD={{ users['no-reply'].mailu_token }}
PEERTUBE_SMTP_HOSTNAME={{system_email.host}} PEERTUBE_SMTP_HOSTNAME={{ system_email.host }}
PEERTUBE_SMTP_PORT={{system_email.port}} PEERTUBE_SMTP_PORT={{ system_email.port }}
PEERTUBE_SMTP_FROM={{ users['no-reply'].email }} PEERTUBE_SMTP_FROM={{ users['no-reply'].email }}
PEERTUBE_SMTP_TLS={{ system_email.tls | lower }} PEERTUBE_SMTP_TLS={{ system_email.tls | lower }}
PEERTUBE_SMTP_DISABLE_STARTTLS={{ 'false' if system_email.start_tls else 'true' }} PEERTUBE_SMTP_DISABLE_STARTTLS={{ 'false' if system_email.start_tls else 'true' }}

View File

@ -46,8 +46,8 @@ RESTRICTED_INSTANCE=false
## Mail ## Mail
MAIL_DRIVER=log MAIL_DRIVER=log
MAIL_HOST={{system_email.host}} MAIL_HOST={{ system_email.host }}
MAIL_PORT={{system_email.port}} MAIL_PORT={{ system_email.port }}
MAIL_FROM_ADDRESS="{{ users['no-reply'].email }}" MAIL_FROM_ADDRESS="{{ users['no-reply'].email }}"
MAIL_FROM_NAME={{ service_provider.company.titel }} - Pixelfed MAIL_FROM_NAME={{ service_provider.company.titel }} - Pixelfed
MAIL_USERNAME={{ users['no-reply'].email }} MAIL_USERNAME={{ users['no-reply'].email }}
@ -58,11 +58,11 @@ MAIL_ENCRYPTION={{ 'ssl' if system_email.start_tls else 'tls' }}
## Databases (MySQL) ## Databases (MySQL)
DB_CONNECTION=mysql DB_CONNECTION=mysql
DB_DATABASE={{database_name}} DB_DATABASE={{ database_name }}
DB_HOST={{database_host}} DB_HOST={{ database_host }}
DB_PASSWORD="{{database_password}}" DB_PASSWORD="{{ database_password }}"
DB_PORT="{{database_port}}" DB_PORT="{{database_port}}"
DB_USERNAME={{database_username}} DB_USERNAME={{ database_username }}
## Cache (Redis) ## Cache (Redis)
REDIS_CLIENT=phpredis REDIS_CLIENT=phpredis

View File

@ -20,14 +20,14 @@ PUBLIC_FILESYSTEM_DISK=local_public
# REQUIRED: DATABASE SETTINGS # REQUIRED: DATABASE SETTINGS
# -------------------------------------------- # --------------------------------------------
DB_CONNECTION=mysql DB_CONNECTION=mysql
DB_HOST={{database_host}} DB_HOST={{ database_host }}
DB_PORT={{database_port}} DB_PORT={{database_port}}
DB_DATABASE={{database_name}} DB_DATABASE={{ database_name }}
DB_USERNAME={{database_username}} DB_USERNAME={{ database_username }}
DB_PASSWORD={{database_password}} DB_PASSWORD={{ database_password }}
{% if not applications | get_app_conf(application_id, 'features.central_database', False)%} {% if not applications | get_app_conf(application_id, 'features.central_database', False)%}
MYSQL_ROOT_PASSWORD={{database_password}} MYSQL_ROOT_PASSWORD={{ database_password }}
DB_PREFIX=null DB_PREFIX=null
DB_DUMP_PATH='/usr/bin' DB_DUMP_PATH='/usr/bin'
DB_CHARSET=utf8mb4 DB_CHARSET=utf8mb4
@ -48,8 +48,8 @@ DB_SSL_VERIFY_SERVER=null
# REQUIRED: OUTGOING MAIL SERVER SETTINGS # REQUIRED: OUTGOING MAIL SERVER SETTINGS
# -------------------------------------------- # --------------------------------------------
MAIL_MAILER = smtp MAIL_MAILER = smtp
MAIL_HOST = {{system_email.host}} MAIL_HOST = {{ system_email.host }}
MAIL_PORT = {{system_email.port}} MAIL_PORT = {{ system_email.port }}
MAIL_USERNAME = {{ users['no-reply'].email }} MAIL_USERNAME = {{ users['no-reply'].email }}
MAIL_PASSWORD = {{ users['no-reply'].mailu_token }} MAIL_PASSWORD = {{ users['no-reply'].mailu_token }}
MAIL_TLS_VERIFY_PEER = {{ system_email.tls | capitalize }} MAIL_TLS_VERIFY_PEER = {{ system_email.tls | capitalize }}

View File

@ -10,15 +10,15 @@ TAIGA_SECRET_KEY = "{{applications | get_app_conf(application_id, 'credenti
SECRET_KEY = "{{applications | get_app_conf(application_id, 'credentials.secret_key', True)}}" SECRET_KEY = "{{applications | get_app_conf(application_id, 'credentials.secret_key', True)}}"
# Taiga's Database settings - Variables to create the Taiga database and connect to it # Taiga's Database settings - Variables to create the Taiga database and connect to it
POSTGRES_USER = "{{database_username}}" # user to connect to PostgreSQL POSTGRES_USER = "{{ database_username }}" # user to connect to PostgreSQL
POSTGRES_PASSWORD = "{{database_password}}" # database user's password POSTGRES_PASSWORD = "{{ database_password }}" # database user's password
POSTGRES_DB = "{{database_name}}" POSTGRES_DB = "{{ database_name }}"
POSTGRES_HOST = "{{database_host}}" POSTGRES_HOST = "{{ database_host }}"
# Taiga's SMTP settings - Variables to send Taiga's emails to the users # Taiga's SMTP settings - Variables to send Taiga's emails to the users
EMAIL_BACKEND = "{{email_backend}}" # use an SMTP server or display the emails in the console (either "smtp" or "console") EMAIL_BACKEND = "{{email_backend}}" # use an SMTP server or display the emails in the console (either "smtp" or "console")
EMAIL_HOST = "{{system_email.host}}" # SMTP server address EMAIL_HOST = "{{ system_email.host }}" # SMTP server address
EMAIL_PORT = "{{system_email.port}}" # default SMTP port EMAIL_PORT = "{{ system_email.port }}" # default SMTP port
EMAIL_HOST_USER = "{{ users['no-reply'].email }}" # user to connect the SMTP server EMAIL_HOST_USER = "{{ users['no-reply'].email }}" # user to connect the SMTP server
EMAIL_HOST_PASSWORD = "{{ users['no-reply'].mailu_token }}" # SMTP user's password EMAIL_HOST_PASSWORD = "{{ users['no-reply'].mailu_token }}" # SMTP user's password
EMAIL_DEFAULT_FROM = "{{ users['no-reply'].email }}" # default email address for the automated emails EMAIL_DEFAULT_FROM = "{{ users['no-reply'].email }}" # default email address for the automated emails

View File

@ -1,7 +1,7 @@
WORDPRESS_DB_HOST= "{{database_host}}:{{database_port}}" WORDPRESS_DB_HOST= "{{ database_host }}:{{database_port}}"
WORDPRESS_DB_USER= "{{database_username}}" WORDPRESS_DB_USER= "{{ database_username }}"
WORDPRESS_DB_PASSWORD= "{{database_password}}" WORDPRESS_DB_PASSWORD= "{{ database_password }}"
WORDPRESS_DB_NAME= "{{database_name}}" WORDPRESS_DB_NAME= "{{ database_name }}"
# Debug flags # Debug flags
WP_DEBUG={{ MODE_DEBUG | lower }} WP_DEBUG={{ MODE_DEBUG | lower }}