I start the docker as followed in the guide:
export NETWORK=mainnet &&\
docker pull inputoutput/cardano-graphql:6.2.0-${NETWORK} &&\
docker pull inputoutput/cardano-graphql-hasura:6.2.0 &&\
docker pull cardanosolutions/cardano-node-ogmios:v5.1.0-${NETWORK} &&\
RESTORE_SNAPSHOT=https://update-cardano-mainnet.iohk.io/cardano-db-sync/13/db-sync-snapshot-schema-13-block-7519843-x86_64.tgz \
docker-compose up -d &&\
docker-compose logs -f
However, db-sync didn't start from a point where I passed as a RESTORE_SNAPSHOT parameter instead started at 0 to sync from genesis which takes too much time to get sync. Any recommendations? If I keep waiting to make it sync via genesis probably will last 2-3 weeks.
db-sync
command line there is a--state-dir
parameter. That specifies the directory where the ledger state is expected.db-sync
expects it in another.