How to deploy a mirror#
This section describes how to deploy a mirror using the software stack provided by Software Heritage.
A mirror deployment will consists in running several components of the Software Heritage stack:
An instance of the storage (Software Heritage - Storage);
A backend database (PostgreSQL or Cassandra) for the storage;
An instance of the object storage (Software Heritage - Object storage);
A large storage system (zfs or cloud storage) as the objstorage backend;
An instance of the frontend (README:);
[Optional] An instance of the search engine backend (Software Heritage - Search service);
[Optional] An elasticsearch instance as swh-search backend;
The replayer services:
This represents a lot of services to configure and orchestrate. In order to help to start the configuration of a mirror, a docker-swarm based deployment solution is provided as a working example of the mirror stack:
It is strongly recommended to start from there in a test environment before planning a production-like deployment.