Service to resize images for image.fnbr.co
into smaller sizes. Resize requests are sent through Redis on the channel set in the config.
It will first download the file if not already present locally, then run it through the sharp library to resize and finally upload all of the newly resized images to S3.
By default the config will be expecting credentials for Amazon S3 but it also supports a provider with an S3-compatible API, such as DigitalOcean Spaces or Cloudflare R2.
To use an alternative provider define the endpoint
field, see config/config.default.js for an example.
It is possible to enable a basic healthcheck endpoint, useful for a monitoring system to ping the service to make sure it is still online.
If enabled in the config, a http server will be available at a customisable port and respond with alive
to any request.