edv / docker-spotweb

Dockerfile to easily set up Spotweb using Docker on the Raspberry Pi (or any compatible arm chipset) and regular x86 chipsets
MIT License
27 stars 19 forks source link

support docker secrets #59

Open Slevin90 opened 2 months ago

Slevin90 commented 2 months ago

a current docker compose+.env file shows the database username & password

add support for docker secret files allowing variables _FILE to read /run/secrets/supersecretdbpassword for DB_NAME, DB_USER, DB_PASS should be secret-enabled _FILE alternatives

this makes it not only safer but also easier to use the same password in the database and spotweb-container