Skip to content

Commit

Permalink
Add setting to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nyonson committed Mar 30, 2023
1 parent 6e39ef9 commit 644f646
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Environment=RAIJU_HOST=localhost:10009
Environment=RAIJU_MAC_PATH=/home/lightning/.lnd/data/chain/bitcoin/mainnet/admin.macaroon
Environment=RAIJU_TLS_PATH=/home/lightning/.lnd/tls.cert
Environment=RAIJU_LIQUIDITY_FEES=5,50,500
Environment=RAIJU_LIQUIDITY_STICKINESS=5
ExecStart=/usr/local/bin/raiju fees -daemon
[Install]
Expand Down Expand Up @@ -132,6 +133,7 @@ Environment=RAIJU_HOST=localhost:10009
Environment=RAIJU_MAC_PATH=/home/lightning/.lnd/data/chain/bitcoin/mainnet/admin.macaroon
Environment=RAIJU_TLS_PATH=/home/lightning/.lnd/tls.cert
Environment=RAIJU_LIQUIDITY_FEES=5,50,500
Environment=RAIJU_LIQUIDITY_STICKINESS=5
ExecStart=/usr/local/bin/raiju rebalance 1 5
```

Expand Down Expand Up @@ -173,15 +175,15 @@ $ go install github.com/nyonson/raiju/cmd/raiju@latest
If a container is preferred, `raiju` images are published at `ghcr.io/nyonson/raiju`.

```
docker pull ghcr.io/nyonson/raiju:v0.6.0
docker pull ghcr.io/nyonson/raiju:v0.7.0
```

A little more configuration is required to pass along settings to the container.

```
docker run -it \
-v /admin.macaroon:/admin.macaroon:ro -v /tls.cert:/tls.cert:ro \
ghcr.io/nyonson/raiju:v0.6.0 \
ghcr.io/nyonson/raiju:v0.7.0 \
-host 192.168.1.187:10009 -mac-path admin.macaroon -tls-path tls.cert
candidates
```
Expand Down

0 comments on commit 644f646

Please sign in to comment.