The docker-compose deployment system consists of four services:
qubic-http
- the http proxy server that provides an http interface to query directly the qubic node(s)qubic-archiver
- the archiver processor and HTTP server that provides rpc endpoints to query the archiverqubic-nodes
- a service responsible with providingqubic-archiver
andqubic-http
information regarding reliable nodes and the max tick of the networktraefik
- a reverse proxy that will route the incoming requests to the correct service and also exposes metrics and dashboard
Before starting the system, open the dev.docker-compose.yml
file and make sure you modify it based on your needs:
- Use a reliable peer list for the
qubic-nodes
service. It's defined in theQUBIC_NODES_QUBIC_PEER_LIST
environment variable. You should add your own reliable peers if you have qubic nodes deployed with tx status addon, or you can request a list of reliable peers from the qubic team. - Use your domain name (or external ip) and replace
testapi.qubic.org
with your domain (or external ip) in thequbic-http
andqubic-archiver
services. - Use your file path and replace volume bindings for the
qubic-archiver
service. For example if you have a store folder on/root/store/
you should replace volume binding forqubic-archiver
to/root/store/archiver:/app/store
.
$ docker-compose -f dev.docker-compose.yml up -d