I’m almost sure that ./ is the directory of the compose.yaml.
Normally I just run docker compose up -d in the project directory, but I could run docker compose up -d -f /somewhere/compose.yaml from another directory, and then the ./ would be /somewhere, and not the directory where I started the command.
I’m almost sure that
./
is the directory of the compose.yaml.Normally I just run
docker compose up -d
in the project directory, but I could rundocker compose up -d -f /somewhere/compose.yaml
from another directory, and then the./
would be/somewhere
, and not the directory where I started the command.