Skip to content

Commit

Permalink
feat(README.md): add installation instructions for running services w…
Browse files Browse the repository at this point in the history
…ith Docker and NATS transporter
  • Loading branch information
FLYBYME committed Jan 23, 2025
1 parent 83fd6cd commit 682e14f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ These services require the following services to be running:
- [Config-service](https://github.com/FLYBYME/config-service)
- [Nodes-service](https://github.com/FLYBYME/nodes-service)

## Installation

To run the services, install Docker and run the following command:
```bash
docker run -d --name block-storage --restart always -v /path/to/data:/app/db ghcr.io/flybyme/block-storage:main
```
For Nats as the transporter

```bash
docker run -d --name block-storage --restart always -e TRANSPORTER=nats://10.1.10.1:4222 -v /path/to/data:/app/db ghcr.io/flybyme/block-storage:main
```

Replace `/path/to/data` with the path to your data directory.


## Index

Expand Down

0 comments on commit 682e14f

Please sign in to comment.