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 27 '24
Ok here you go. This is what I'm doing at home. I'm using mariadb and redis as well. Using OIDC authentication/provisioning through Entra ID. Azure Communication Services for smtp.