Hébergement de stockage sur un Raspberry Pi avec Sia – Axons
services:
sia:
image: bouwe/sia-docker:v1.4.7
volumes:
- ./sia-data:/sia-data
- ./renter-data:/renter-data
ports:
- "127.0.0.1:9980:9980"
- "9981:9981"
- "9982:9982"
sia-dashboard:
image: bouwe/sia-host-dashboard:v1.4.7
depends_on:
- sia
links:
- sia
environment:
- SIA_API_ADDR=sia:9980
volumes:
- ./sia-data:/sia-data
- ./renter-data:/renter-data
ports:
- "8884:8884"
restart: on-failure
version: '2.1'
Les volumes
/dev/sda1 916G 6.1G 864G 1% /home/ubuntu/sia-renter/renter-data
/dev/sda1 /home/ubuntu/sia-renter/renter-data ext4 defaults,user 0 0
Ports
Domaine
DOMAIN="sia.ceunen.io:9982"
SIA_CONT_ID=$(docker-compose ps -q sia)
docker exec $SIA_CONT_ID ./siac host config netaddress "${DOMAIN}"
Réglages
docker exec $SIA_CONT_ID ./siac consensus
./siac wallet init
./siac wallet unlock
./siac wallet address
./siac host config minstorageprice 2000SC
./siac host config minuploadbandwidthprice 100SC
./siac host config mindownloadbandwidthprice 1000SC
./siac host config mincontractprice 1SC
./siac host config minbaserpcprice 0SC
./siac host config collateralbudget 40KS
./siac host folder add renter-data 860GB
./siac host announce
./siac host config acceptingcontracts false