You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation mentions being able to use env vars in the form SEQCLI_<setting path>, with the example: SEQCLI_CONNECTION_SERVERURL
But I wasn't able to get it working.
Documentation mentions being able to use env vars in the form
SEQCLI_<setting path>
, with the example:SEQCLI_CONNECTION_SERVERURL
But I wasn't able to get it working.
Steps to reproduce:
Create a docker compose file with the contents:
Start the Seq container:
Use the SeqCLI image to connect to it (using --server):
docker run --rm --network=my_default datalust/seqcli:latest feed list --server=http://local-seq # nugetfeed-1 nuget.org
Use the SeqCLI image to connect to it (using env var
SEQCLI_CONNECTION_SERVERURL
):docker run --rm --network=my_default -e SEQCLI_CONNECTION_SERVERURL=http://local-seq datalust/seqcli:latest feed list # The command failed: Connection refused (localhost:5341) Connection refused
Confirm that env var
SEQCLI_CONNECTION_SERVERURL
gets passed to the container:The text was updated successfully, but these errors were encountered: