Raspberry Pi Deployment
Raspberry Pi is a good low-power solution to host BitcartCC at home. It is quite cheap and you can use it to build a lot of custom stuff.
We recommend using the latest RPI4, but RPI3 woud be good too.
What's good is: BitcartCC can work with any RPI flavour, even 1 GB RAM is enough to run BitcartCC. Though we recommend picking up a bit more (2 GB) just to avoid slowdowns.
As for the disk, SD card, USB memory or SSD - it doesn't matter, just know that SSD is usually faster. Basically any disk on the market should have enough space (10 GB)
It is recommended that you install 64-bit version of raspberry pi OS, as it is tested natively via our CI systems. 32 bit version is obsolete and is no longer officially supported. But if you want to stay 32 bits, note that on debian modern docker images may fail to start, although we try to fix that bug in our setup scripts.
Open a terminal on your RPI if you have connected a display to it, or ssh to your RPI.
Start a root shell:
sudo su -
- Upgrade your system, install firewall and secure your pi from unneccesary ssh spam:
apt update && apt upgrade -y && apt autoremove
apt install -y ufw fail2ban git
sudo ufw allow from 192.168.1.0/24 to any port 22
ufw allow 80, 443
- Clone and install BitcartCC
git clone https://github.com/bitcartcc/bitcart-docker