mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 07:45:09 +00:00
secrets need different enviroment variable name
This commit is contained in:
parent
f6fb91607f
commit
5bff09556d
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=/run/secrets/db_password
|
- MYSQL_ROOT_PASSWORD: !reset null
|
||||||
|
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_password
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: mysqladmin ping -h localhost --password="$(cat /run/secrets/db_password)"
|
test: mysqladmin ping -h localhost --password="$(cat /run/secrets/db_password)"
|
||||||
secrets:
|
secrets:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue