Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 1.02 KB

README.md

File metadata and controls

19 lines (14 loc) · 1.02 KB

202212.http-versions

ℹ️ If you are using Linux, write out UID and GID into the .env file to let that as exported on Docker Compose as environment variables.

test $(uname -s) = 'Linux' && {
  echo -e "GID=$(id -g)"
  echo -e "UID=$(id -u)"
} >> .env || :

Environment Variable Names

Environment variable names and uses are as follows.

Name Required on Linux Value
UID Yes This ID number is used as UID for your Docker user, so this ID becomes the owner of all files and directories created by the container.
GID Yes The same as the above UID.