jpetazzo / obs-docker

OBS-Studio (and a few extra tools) in containers
81 stars 13 forks source link

"UID variable is not set" issue #2

Closed olberger closed 3 years ago

olberger commented 3 years ago

I've tried to run docker-compose on my Debian testing system and got :

$ docker-compose up
WARNING: The UID variable is not set. Defaulting to a blank string.
ERROR: Missing mandatory value for "command" option in service "obs": please 'export UID'

Any clues ?

olberger commented 3 years ago

issueing "export UID" before running docker-compose did the trick, as expected ;-)

Maybe worth a mention in README, for bummers like me ? ;-)

jpetazzo commented 3 years ago

You're 100% right :)

I do it slightly differently:

echo UID=$UID >> .env

... and that way you don't have to export UID each time.

I'll update the README, thanks!