no - for env variables
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
services:
|
||||
db:
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD: !reset null
|
||||
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_password
|
||||
MYSQL_ROOT_PASSWORD: !reset null
|
||||
MYSQL_ROOT_PASSWORD_FILE: /run/secrets/db_password
|
||||
healthcheck:
|
||||
test: mysqladmin ping -h localhost --password="$(cat /run/secrets/db_password)"
|
||||
secrets:
|
||||
|
||||
Reference in New Issue
Block a user