Skip to content

Commit

Permalink
Merge branch 'bitcoin-env-variable' into 'dev'
Browse files Browse the repository at this point in the history
add environment variables for bitcoin rpc connection

See merge request ergo/rosen-bridge/operation!42
  • Loading branch information
zargarzadehm committed Dec 10, 2024
2 parents 10d0cc2 + 051dd83 commit 4673077
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/watcher/deploy-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ esplora:
url: https://blockstream.info
```

> NOTE: When using docker there are `BITCOIN_RPC_USERNAME` and `BITCOIN_RPC_PASSWORD` environment variable available for rpc authentication that you can set instead of in the local configuration.

> Note: If you don't specify an esplora url, it will use the https://blockstream.info by default, but in case you're using RPC as your source you should specify your bitcoin node instance RPC url.

> Note: RPC authentication configuration is optional, if you're using a public node you don't need to add username and password.
Expand Down
4 changes: 4 additions & 0 deletions docs/watcher/env-references.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ BLOCKFROST_PROJECT_ID=
OVERRIDE_LOKI_BASIC_AUTH=
BITCOIN_RPC_USERNAME=
BITCOIN_RPC_PASSWORD=
WATCHER_HOST= # (default is 127.0.0.1 if no value is set)
WATCHER_PORT= # (default is 3030 if no value is set)
Expand Down
2 changes: 2 additions & 0 deletions watcher/env.template
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ KOIOS_AUTH_TOKEN=
ETHEREUM_RPC_AUTH_TOKEN=
BLOCKFROST_PROJECT_ID=
OVERRIDE_LOKI_BASIC_AUTH=
BITCOIN_RPC_USERNAME=
BITCOIN_RPC_PASSWORD=
WATCHER_HOST=
WATCHER_PORT=
WATCHER_IMAGE_VERSION=
Expand Down

0 comments on commit 4673077

Please sign in to comment.