i’m quite new to docker and compose and still trying to set up my homeserver based on several docker images.
So far this works very good and is suprisingly easy.
But there’s one thing, im not sure about, how to handle it.
When passing enviromental variables i’ve encountered two different ways of spelling.
environment: -MY_ENV=value -MY_2ND_ENV=value environment: my_env: value my_2nd_env: 'value'
So far i’ve stuck to the first method, but when setting up ghost, only the second worked for me.
What’s the difference between those two and when to use which one?
Thanks in advance!