This repository contains a docker image that spawns a development blockchain, a subsquid block indexer and processer, an ipfs node and the UI. It properly configures each component and connects them.
It should launch the Zeitgeist standalone docker image zeitgeistpm/zeitgeist-node:v0.3.8. We will have to manually update to the newest tags for now, maybe there is a workaround like adding a stable tag or something in the Zeitgeist repository. We have a latest tag, but it collides with Dockerhubs latest tag.
The docker container should:
Expose P2P, WS and RPC port
The node should:
Run in --dev mode
Make ws and rpc externally available --ws-external --rpc-external
Allow all origins --rpc-cors all
Allow unsafe rpc methods --rpc-methods Unsafe
Allow the user to specify whether the chain should be temporary or permanent. Default case should be temporary, i.e. --tmp. The other case could be realized via an environment variable, i.e. in case ZEITGEIST_CHAIN_PATH is not empty, we should use --base-path $ZEITGEIST_CHAIN_PATH instead of --tmp
A subsquid instance should be launched and made available for other docker containers within docker compose. It also could be useful to offer advanced interfaces to query the data.
It regards to permanency of data, see #2 (comment)