A mysql root password is needed
This commit is contained in:
parent
deb7cdbc35
commit
a8db2d5452
@ -7,7 +7,7 @@
|
||||
|
||||
## Database Variables
|
||||
db = {}
|
||||
#- db['root_pw'] = 'RootPassWord'
|
||||
db['root_pw'] = 'RootPassWord'
|
||||
db['enabled'] = True
|
||||
db['user'] = 'DBUser'
|
||||
db['user_pw'] = 'DBUserPassWord'
|
||||
|
@ -7,9 +7,7 @@ services:
|
||||
image: mariadb:latest
|
||||
restart: always
|
||||
environment:
|
||||
{%- if db.root_pw is defined %}
|
||||
MARIADB_ROOT_PASSWORD: {{ db.root_pw }}
|
||||
{%- endif %}
|
||||
MARIADB_USER: {{ db.user }}
|
||||
MARIADB_PASSWORD: {{ db.user_pw }}
|
||||
MARIADB_DATABASE: {{ db.db }}
|
||||
|
Loading…
Reference in New Issue
Block a user