Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add details for beacon node on same machine #418

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion docs/start/quickstart_group.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ services:
...
```

3. Then, uncomment and set the `CHARON_BEACON_NODE_ENDPOINTS` variable in the `.env` file to your beacon node's URL
3. Then, uncomment and set the `CHARON_BEACON_NODE_ENDPOINTS` variable in the `.env` file to your beacon node's URL. If your beacon node is running on the same machine, the URL is the LAN one, usually starting by `192.168.`.

```shell
...
Expand All @@ -588,6 +588,19 @@ CHARON_BEACON_NODE_ENDPOINTS=<YOUR_REMOTE_BEACON_NODE_URL>
...
```

If you have `ufw` enabled, you might have to allow connections from the charon container to your beacon node.
First get your charon container ip address by running

```shell
docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' charon-distributed-validator-node-charon-1
```

then using the IP (x.x.x.x) you just got

```shell
sudo ufw allow from x.x.x.x/16 to any port 5052 comment 'Allow Charon access to beacon'
```

4. Restart your docker compose

```shell
Expand Down