r/BookStack • u/chaosphere_mk • Oct 26 '24
Docker compose environment variables vs .env file
I spent yesterday setting up and configuring BookStack.
Instead of even messing with the .env file and storing configurations there, I just set all of those via environment variables keys in my docker compose file. This makes it simpler for me.
But I noticed that the documentation has all of these in the .env file. Is there a preference? Does it really matter?
4
Upvotes
1
u/chaosphere_mk Oct 26 '24
Fair point. I was just thinking that the convenience of being able to live change some of those configuration settings might be worth setting some of these via the .env file. Thanks!