szabodanika / microbin

A secure, configurable file-sharing and URL shortening web app written in Rust.
https://microbin.eu
BSD 3-Clause "New" or "Revised" License
2.66k stars 167 forks source link

Use env_file in compose.yml to add env variables #229

Open IktaS opened 11 months ago

IktaS commented 11 months ago

Noticed some missing env variable when deploying my instance. Added them to compose.yml

IktaS commented 11 months ago

Fixes #221

kwiniarski97 commented 11 months ago

Why just don't pass down whole .env file like this: https://docs.docker.com/compose/environment-variables/set-environment-variables/#use-the-env_file-attribute?

IktaS commented 11 months ago

@kwiniarski97 's suggestion makes sense, this would make it easier to maintain future ENV variables as well. Changing the PR for those changes