Collect stats, post them to service
889
Robot for collecting stats and posting the results to a stats service.
Update docker.env with correct settings
NODE_ENV=production
SYSTEM_NAME=robot-stats
DIRECTORIES_PATH=test/directories
JWT_SECRET=Louie Louie, oh no, I got to go Louie Louie, oh no, I got to go
STATS_SERVICE_URL=https://stats.service.t-fk.no/stats
PAPERTRAIL_HOSTNAME=robot-stats
PAPERTRAIL_HOST=logs.papertrailapp.com
PAPERTRAIL_PORT=12345
$ docker build -t robot-stats .
$ docker run --env-file=docker.env --rm robot-stats
This will start a container. Do the job. Stop the container and remove it.
Content type
Image
Digest
Size
33.7 MB
Last updated
about 5 years ago
docker pull telemark/robot-stats