docker buildx build --platform linux/arm/v7 -t alpine-arm32 --load . -t krajicj/crypto-bot-server-arm
-
Flash SD card with Raspbian OS
-
Put SD card into your raspberry and plug in into power. After boot the default login and password is (pi raspberry)
-
Change your raspberry pi account password "sudo raspi-config"
-
Shutdown raspberry "sudo shutdown" remove SD card, plug it into your pc and run command in volume folder on SD card "touch ssh" This enable ssh access
-
Connect your raspberry to the internet via patch cabel
-
Run commands "sudo apt-get update" and "sudo apt-get upgrade" to update system
-
Set static ip address of your raspberry
-
"sudo service dhcpcd start"
-
"sudo systemctl enable dhcpcd"
-
"sudo nano /etc/dhcpcd.conf"
-
uncomment these lines and set ip_address to some free ip address in your network
interface eth0 static ip_address=192.168.0.4/24 static routers=192.168.0.1 static domain_name_servers=192.168.0.1
-
Reboot by "sudo reboot"
-
Now you can access raspberry via ssh
- "ssh ip_address -l pi"
- then enter your password for account pi
-
install docker
- https://phoenixnap.com/kb/docker-on-raspberry-pi
- "curl -fsSL https://get.docker.com -o get-docker.sh"
- "sudo sh get-docker.sh"
- "sudo usermod -aG docker pi"
-
Install app using docker
sudo docker pull krajicj/crypto-bot-server-arm
sudo docker pull krajicj/crypto-bot-front-arm
sudo docker create --name crypto-bot-server -i -p 5000:5000 --restart unless-stopped krajicj/crypto-bot-server-arm
sudo docker start -i crypto-bot-server
Set password of your app and hit ctr + c
sudo docker start crypto-bot-server
sudo docker create --name crypto-bot-front -p 3000:3000 --restart unless-stopped krajicj/crypto-bot-front-arm
sudo docker start crypto-bot-front
-
If you are on the same network you can put your raspberry_ip_address:3000 to your browser and log in to the system with app password you choose
-
On page keys set your coinbase pro api keys
-
Create schedulers and DCA...