Skip to content
Snippets Groups Projects
Commit de860cb4 authored by Christian Castelli's avatar Christian Castelli Committed by Vincent Massol
Browse files

Mysql root password (#25)

In order to use secrets for mysql root password the parameter needs to MYSQL_ROOT_PASSWORD_FILE
parent 5b71b6bf
No related branches found
No related tags found
No related merge requests found
...@@ -273,7 +273,7 @@ services: ...@@ -273,7 +273,7 @@ services:
volumes: volumes:
- mysql-data:/var/lib/mysql - mysql-data:/var/lib/mysql
environment: environment:
- MYSQL_ROOT_PASSWORD=/run/secrets/xwiki-db-root-password - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/xwiki-db-root-password
- MYSQL_USER_FILE=/run/secrets/xwiki-db-username - MYSQL_USER_FILE=/run/secrets/xwiki-db-username
- MYSQL_PASSWORD_FILE=/run/secrets/xwiki-db-password - MYSQL_PASSWORD_FILE=/run/secrets/xwiki-db-password
- MYSQL_DATABASE=xwiki - MYSQL_DATABASE=xwiki
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.