Skip to content

Running FediFetcher from a container

Michael edited this page Sep 9, 2024 · 3 revisions

FediFetcher is also available in a pre-packaged container.

  1. Get an Access Token, if you haven't done so already
  2. Pull the container from ghcr.io, using Docker or your container tool of choice: docker pull ghcr.io/nanos/fedifetcher:latest
  3. Run the container, passing the configurations options as command line arguments: docker run -it ghcr.io/nanos/fedifetcher:latest --access-token=<TOKEN> --server=<SERVER>, or using Environment variables.

See the configuration options docs for full details on how to configure FediFetcher.

Important

The same rules for running this as a cron job apply to running the container: don't overlap any executions.

Persistent files are stored in /app/artifacts within the container, so you may want to map this to a local folder on your system.

An example Kubernetes CronJob for running the container is included in the examples folder.

An example Docker Compose Script for running the container periodically is included in the examples folder.