If you would like to expose the web interface to view over the internet (no authentication is provided however), you can use a service like Ngrok to do so.
This exposes your web interface and Raspberry Pi over the internet. You should at the very least have a strong password on your Raspberry Pi, and also install a software like fail2ban to restrict malicious SSH attempts.
The following are the steps to take:
- Sign up for Ngrok - the free plan is all we need. Make sure to confirm your account.
- Download the app onto the Raspberry Pi:
wget -o ngrok.zip https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip
- Make a new folder for the program:
sudo mkdir /opt/ngrok
sudo mv ngrok /opt/ngrok
- Make a config folder:
- Fill in the following:
authtoken: <add your ngrok auth token here, find in nrgok dashboard>
- Run in background:
nohup /opt/ngrok/ngrok start ui ws --config ~/.ngrok2/ngrok.yml &
Alternatively, if you wish to set this up as a service that will launch on start up, the following
sudo systemctl enable ngrok
- On your ngrok dashboard, under Endpoints -> Status, you'll see two urls. One of the unique urls should link to your Pioreactor dashboard.
- The other url is added to your config.ini (under Configuration in the Pioreactor UI):
- Hit [Save].
- You're all done! You can now access the Pioreactor UI anywhere at
Custom domain (if using Pro plan)
Set up a domain in the ngrok UI, and follow the steps to add it to you your domain provider. Then in your
hostname fields, example: