feat: Add configurable hsd ip
All checks were successful
Build Docker / Build Image (push) Successful in 31s
All checks were successful
Build Docker / Build Image (push) Successful in 31s
This commit is contained in:
12
README.md
12
README.md
@@ -8,9 +8,11 @@ git clone https://github.com/Nathanwoodburn/firewalletbrowser.git
|
||||
cd firewalletbrowser
|
||||
python3 -m pip install -r requirements.txt
|
||||
cp example.env .env
|
||||
# Edit .env to include your HSD API key
|
||||
```
|
||||
|
||||
Edit .env to have your HSD api key.
|
||||
If you have HSD runnning on a separate computer also add the IP here
|
||||
|
||||
## Usage
|
||||
|
||||
Make sure HSD is running then run the following commands:
|
||||
@@ -29,5 +31,11 @@ Also available as a docker image:
|
||||
To run using a HSD running directly on the host:
|
||||
|
||||
```bash
|
||||
sudo docker run --network=host -e HSD_API_KEY=yourapikeyhere git.woodburn.au/nathanwoodburn/firewallet:latest
|
||||
sudo docker run --network=host -e hsd_api=yourapikeyhere git.woodburn.au/nathanwoodburn/firewallet:latest
|
||||
```
|
||||
|
||||
If you have HSD running on a different IP/container
|
||||
|
||||
```bash
|
||||
sudo docker run -p 5000:5000 -e hsd_api=yourapikeyhere -e hsd_ip=hsdcontainer git.woodburn.au/nathanwoodburn/firewallet:latest
|
||||
```
|
||||
Reference in New Issue
Block a user