Felix

Felix

Would be awesome to use run secrets for i.e.:

DB_PASSWORD=

Could become

DB_PASSWORD_FILE=/var/run/secrets/mixpost_db_password
Dima Botezatu

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}'

no votes yet

You may use @ to mention someone.

Support Docker run secrets in compose

1 total vote
Felix
  • Felix created the item

    2 years ago