Table of Contents
New Features
- Add volume backup schedulers (daily/weekly) using offline deals.
- Add autobid module in sending offline deals process.
- Add volume rebuild feature by retrieving previous volume backup content specified by users.
- Add PostgreSQL database for deals information storage.
Improvements
- Add
Sign Out
button to the lower left of the FS3 browser. - Add
Download Object
button for single file, next to theBackup to Filecoin
button.
Config Explanation
[.env]
- SWAN_ADDRESS : The address of filswan platform, default as
https://api.filswan.com
. - FS3_VOLUME_ADDRESS : The address of FS3 VOLUME where the uploaded data stored, default as
~/fs3-data
. If changed, the FS3 server start command has to be changed accordingly. For example, if theFS3_VOLUME_ADDRESS
is changed to/PATH/TO/MY_FS3_VOLUME_ADDRESS
, the server running command line will change from./minio server ~/fs3-data
to./minio server /PATH/TO/MY_FS3_VOLUME_ADDRESS
. - FS3_WALLET_ADDRESS : A wallet address is a must for sending deals to miner. Firstly,follow the instruction on Manage FIL to create a wallet. Secondly, after creating a wallet, check obtaining FIL on how to receive FIL.
- CAR_FILE_SIZE : A fixed car file size in bytes need to be predefined before generating car files for trunk via variable
CarFileSize
, such as8589934592
for 8Gb as default. - IPFS_API_ADDRESS : An available IPFS address with port need to be set up as the format of
https://MyIPFSUrl:Port
. Firstly, find the configuration file of IPFS node, which is located at~/.ipfs/config
by default. Secondly, look upAPI
inAddresses
section of theconfig
file. Thirdly, transform theAPI
url into form ofhttps://MyIPFSUrl:Port
. For example, transform/ip4/192.168.88.41/tcp/5001
intohttp://127.0.0.1:5001
. Check IPFS Docs for more information of IPFS node configuration. - IPFS_GATEWAY : An available IPFS address with port need to be set up for file downloading as the format of
https://MyIPFSGatewayUrl:Port
. Firstly, find the configuration file of IPFS node, which is located at~/.ipfs/config
by default. Secondly, look upGateway
inAddresses
section of theconfig
file. Thirdly, transform theGateway
url into form ofhttps://MyIPFSUrl:Port
. For example, transform/ip4/192.168.88.41/tcp/5001
intohttp://127.0.0.1:5001
. The process is similar to that ofIPFS_API_ADDRESS
. Check IPFS Docs for more information of IPFS node configuration. - SWAN_TOKEN : A valid swan token is required for posting task on swan platform. It can be received after creating an account on Filswan. Check Filswan APIs for more details on how to get an authorization token.
- LOTUS_CLIENT_API_URL : A valid lotus endpoint is required to connect to a Lotus node as the format of
http://[api:port]/rpc/v0
.The Lotus node comes with its own local API endpoint. Firstly, find the lotus configuration file which is located at~/.lotus/config.toml
by default. Secondly, look upListenAddress
in the[API]
section of theconfig.toml
file. Thirdly,transform the lotus api address found into format ashttp://[api:port]/rpc/v0
. For example, transform the endpoint/ip4/0.0.0.0/tcp/1234/http
found in config file intohttp://127.0.0.1:1234/rpc/v0
. Check Lotus Configuration for more information of Lotus configuration. - LOTUS_CLIENT_ACCESS_TOKEN :An
admin
permission token is required to talk to the lotus API endpoints. It can be generated by following the Obtaining tokens steps. Check Lotus Docs for more details. - PSQL_HOST : The host name of the machine on which the server is running. Default as:
127.0.0.1
- PSQL_USER : The user name to connect to the database(You must have the permission to do so,of course). Default as
root
. - PSQL_PASSWORD : The password for connecting to a database if password authentification is required. Default as
root
. - PSQL_DBNAME : The name of the database you want to connect to. Default as
fs3
. - PSQL_PORT : The database server port to which you want to connect. Default as
5432
.
You can reference .env.example
from source code or default.env.example
in the attachment and readme on how to config it.