Files
metrics/.github/readme/partials/documentation/setup/docker.md
2022-01-16 09:07:39 -05:00

514 B
Raw Blame History

🐳 Using command line with docker (~2 min)

0 Prepare your machine

A server with a recent version of docker is required.

1 Run docker image

The command to use is similar to the following:

docker run --env INPUT_TOKEN=**** --env INPUT_USER=user --volume=/tmp:/metrics_renders ghcr.io/lowlighter/metrics:latest

To pass parameters, pass environment variable with the same name as the corresponding action option but in uppercase and prefixed with INPUT_.