An open API service indexing awesome lists of open source software.

https://github.com/multiversx/mx-chain-rosetta-docker-scripts

Scripts referenced by Rosetta's Docker setup.
https://github.com/multiversx/mx-chain-rosetta-docker-scripts

Last synced: 10 months ago
JSON representation

Scripts referenced by Rosetta's Docker setup.

Awesome Lists containing this project

README

          

# rosetta-docker-scripts

Scripts referenced by [Rosetta's Docker setup](https://github.com/multiversx/mx-chain-rosetta-docker). **Not usable in other contexts.**

These scripts are kept separately (in this repository) so that we can easily use versioned references towards them, and also to satisfy Rosetta's [build anywhere](https://www.rosetta-api.org/docs/node_deployment.html#build-anywhere) requirement.

## `adjust_config.py`

This script is used to tailor the default Observer configuration. More precisely, it alters the files `config.toml` and `prefs.toml` accordingly and adjusts settings related to `DbLookupExtensions`, `Antiflood` etc.

## `entrypoint.sh`

This script should be used as the _entrypoint_ of Rosetta's [Dockerfile](https://github.com/multiversx/mx-chain-rosetta-docker/blob/main/Dockerfile). It starts the requested program (`node` or `rosetta`), with the provided arguments, and with the appropriate configuration.

## Notable references
- [Docker: How to execute a shell command before the ENTRYPOINT](https://stackoverflow.com/a/41518225)