reference: https://gist.github.com/0xobjectObject/f201f61eaf990f7d7da939d33a6c14a2#docker-network-setup
# installing multiple smart nodes
### first, a few changes to make in `rocketpool s c`
In the `Execution Client` menu, Expose RPC should be set to `Open to External hosts`
In the `Consensus Client` menu, Expose API should be set to `Open to External hosts`
- Save and exit, restart the relevant docker containers.
- install to /bin/rocketpool2
```
wget https://github.com/rocket-pool/smartnode-install/releases/download/v1.13.0-dev/rocketpool-cli-linux-amd64 -O ~/bin/rocketpool2
```
- Navigate to your /bin/ folder and mark `rocketpool2` as an executable:
```
chmod +x /bin/rocketpool2
```
- adding alias to profile
```
sudo nano ~/.profile
alias rp1='rocketpool -c ~/.rocketpool'
alias rp2='rocketpool2 -c ~/.rocketpool2'
```
- save new profile
```
source ~/.profile
```
- install rocketpool2
```
rocketpool2 s i -d -p ~/.rocketpool2
```
To start configuring your new node, use the newly created alias and run
```
rp2 s c
```
use `ifconfig` to grab your system ip, replace your ip anywhere that says `rocketpool_eth1/2` below
You'll see the Config Wizard on your first run. Select the following options:
1. Next
2. Devnet
3. Externally Managed
4. Enter `http://rocketpool_eth1:8545` and `ws://rocketpool_eth1:8546`
5. Select the consensus client you're using for your first node. Enter `http://rocketpool_eth2:5052` (and `http://rocketpool_eth2:5053` if you're using Prysm). Choose whatever you want for Graffiti and Doppelgänger Protection.
6. If you have a working fallback setup, enter your details here.
7. No metrics.
8. Review All Settings, don't save yet!
### The next step is very important, don't miss it or stuff will break:
Select "Smartnode and TX Fees" and change the "Project Name" to `rocketpool2`. Press enter after making the change.
Select "Data Path" and change the path to `~/.rocketpool2/data`
Now you can press ESC and select "Review Changes and Save". Make sure you see `Project Name: rocketpool => rocketpool2` under "Smartnode Settings". If you do, you can save the settings and answer "yes" when asked to start the Smartnode services automatically.
# script to update:
```
#!/bin/bash
wget https://github.com/rocket-pool/smartnode-install/releases/download/v1.12.0-dev/rocketpool-cli-linux-amd64 -O ~/bin/rocketpool2
rp2 s i -d
docker stop rocketpool2_api rocketpool2_node rocketpool2_watchtower
docker rm rocketpool2_api rocketpool2_node rocketpool2_watchtower
docker rmi rocketpool2/smartnode:v1.12.0-dev
rp2 s s
```
# nuclear option if smartnode doesn't apply the update properly:
```
rp1 service stop; rp2 service stop; docker system prune -a; rp1 service start; rp2 service start;
```