feat: Add configurable hsd ip
All checks were successful
Build Docker / Build Image (push) Successful in 31s

This commit is contained in:
2024-01-29 15:48:36 +11:00
parent 2076cb6d0c
commit f54e1367f9
3 changed files with 25 additions and 11 deletions

View File

@@ -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
```