Felix
Would be awesome to use run secrets for i.e.:
DB_PASSWORD=
Could become
DB_PASSWORD_FILE=/var/run/secrets/mixpost_db_password
Support Docker run secrets in compose
1 total vote
-
Felix created the item
2 years ago
Dima Botezatu
@Felix-D You can use a variable.
For example, create a .env file and put: DB_PASSWORD=my-secret-password
Then in your docker-compose.yml, use:
DB_PASSWORD: '${DB_PASSWORD}'