Files
clio/docker/clio/README.md
Ayaz Salikhov 1e0a2f5162 style: Add prettier pre-commit hook (#2031)
There are 2 things to know about prettier:
- it's quite pretty most of the time
- it's not configurable
2025-04-25 16:24:45 +01:00

1.1 KiB

Clio official docker image

Clio is an XRP Ledger API server optimized for RPC calls over WebSocket or JSON-RPC. It stores validated historical ledger and transaction data in a space efficient format.

This image contains clio_server binary allowing users to run Clio easily.

Clio configuration file

Please note that while Clio requires a configuration file, this image doesn't include any default config. Your configuration file should be mounted under the path /opt/clio/etc/config.json. Clio repository provides an example of the configuration file.

Config file recommendations:

  • Set log_to_console to false if you want to avoid logs being written to stdout.
  • Set log_directory to /opt/clio/log to store logs in a volume.

Usage

The following command can be used to run Clio in docker (assuming server's port is 51233 in your config):

docker run -d -v <path to your config.json>:/opt/clio/etc/config.json -v <path to store logs>:/opt/clio/log -p 51233:51233 rippleci/clio