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:

Each service consists in an HTTP-based RPC served by a gunicorn WSGI server.

Docker-based deployment#

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.