Renamed databasename

This commit is contained in:
2024-01-06 14:32:49 +01:00
parent 68613545b2
commit 7d8b7dd00f
27 changed files with 39 additions and 39 deletions

View File

@@ -7,7 +7,7 @@
image: mariadb
restart: always
environment:
MYSQL_DATABASE: "{{database_databasename}}"
MYSQL_DATABASE: "{{database_name}}"
MYSQL_USER: "{{database_username}}"
MYSQL_PASSWORD: "{{database_password}}"
MYSQL_ROOT_PASSWORD: "{{database_password}}"

View File

@@ -6,11 +6,11 @@
environment:
- POSTGRES_PASSWORD={{database_password}}
- POSTGRES_USER={{database_username}}
- POSTGRES_DB={{database_databasename}}
- POSTGRES_DB={{database_name}}
- POSTGRES_INITDB_ARGS="--encoding=UTF8 --locale=C"
restart: always
healthcheck:
test: ["CMD-SHELL", "pg_isready -U {{database_databasename}}"]
test: ["CMD-SHELL", "pg_isready -U {{database_name}}"]
interval: 10s
timeout: 5s
retries: 6