Skip to content

Commit

Permalink
Merge branch 'main' into bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
Starttoaster authored Aug 29, 2023
2 parents 6f14bc5 + a61923e commit 15c4fa6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,18 @@ docker exec -it chia venv/bin/chia farm summary
docker run -d --expose=58444 -e testnet=true --name chia ghcr.io/chia-network/chia:latest
```

### Connect remotely

Sometimes you may want to access Chia RPCs from outside of the container, or connect a GUI to a remote Chia farm. In those instances, you may need to configure the `self_hostname` key in the Chia config file.

By default this is set to `127.0.0.1` in chia-docker, but can be configured using the `self_hostname` environment variable, like so:

```bash
docker run -d -e self_hostname="0.0.0.0" --name chia ghcr.io/chia-network/chia:latest
```

This sets self_hostname in the config to `0.0.0.0`, which will allow you to access the Chia RPC from outside of the container (you will still need a copy of the private cert/key for the component you're attempting to access.)

#### Need a wallet?

To get new wallet, execute command and follow the prompts:
Expand Down

0 comments on commit 15c4fa6

Please sign in to comment.