Shipper
What you’ll learn#
- What is a Canarytrace Shipper?
- How this work?
Shipper is a third Docker image in a Canarytrace stack which send all static files into AWS S3 such as Lighthouse HTML report or records of activity in Chrome's processes in stored a JSON format. Canarytrace save all static file into /assets directory and this directory is mounted between Docker images with Canarytrace and Shipper. All new files are push to AWS S3.

How to work#
Canarytrace Shipper run every 1s in a loop synchronization with your AWS S3 bucket aws s3 sync assets/ s3://${AWS_BUCKET_NAME} --acl public-read
How to run#
Canarytrace Shipper is a part of Canarytrace stack and you can add them into POD with Docker images Canarytrace and Browser.
Configuration#
AWS_S3_BUCKET_NAME- e.g.monitoring-assets.AWS_ACCESS_KEY_ID- your access key.AWS_SECRET_ACCESS_KEY- you secret access key.
Optional#
ENV_PRINT-allowfor print all environment variables.AWS_DEFAULT_REGION- default iseu-central-1.
Example#
You can create your own shipper, just binding properly /opt/canary/assets directory in Canarytrace Docker image and directory in your Docker image.
- Do you find mistake or have any questions? Please create issue, thanks 👍
- Have more questions? Contact us.