mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented helper role docker-central-database and refactored code
This commit is contained in:
5
roles/docker-central-database/templates/env/mariadb.env.j2
vendored
Normal file
5
roles/docker-central-database/templates/env/mariadb.env.j2
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
MYSQL_DATABASE="{{database_name}}"
|
||||
MYSQL_USER="{{database_username}}"
|
||||
MYSQL_PASSWORD="{{database_password}}"
|
||||
MYSQL_ROOT_PASSWORD="{{database_password}}"
|
||||
MARIADB_AUTO_UPGRADE="1"
|
4
roles/docker-central-database/templates/env/postgres.env.j2
vendored
Normal file
4
roles/docker-central-database/templates/env/postgres.env.j2
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
POSTGRES_PASSWORD={{database_password}}
|
||||
POSTGRES_USER={{database_username}}
|
||||
POSTGRES_DB={{database_name}}
|
||||
POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale=C
|
Reference in New Issue
Block a user