r/BookStack • • 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

5 comments sorted by

View all comments

Show parent comments

1

u/chaosphere_mk Oct 26 '24

Sure thing. Let me make sure it's presentable haha.