Optimized variable typos

This commit is contained in:
2025-08-15 18:43:42 +02:00
parent 85a2f4b3d2
commit 3ac9bd9f90
33 changed files with 101 additions and 101 deletions

View File

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

View File

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

View File

@@ -8,7 +8,7 @@
- {{database_env}}
restart: {{ DOCKER_RESTART_POLICY }}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U {{database_name}}"]
test: ["CMD-SHELL", "pg_isready -U {{ database_name }}"]
interval: 10s
timeout: 5s
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_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_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 }}"