Go to file
Anatolios Laskaris a2bd116596
chore: Add release-please [fixed FLU-208 and FLU-225] (#89)
* Add release-please

* Fix adding labels to image

* Update labels

* Fix
2023-01-24 17:29:11 +02:00
.github chore: Add release-please [fixed FLU-208 and FLU-225] (#89) 2023-01-24 17:29:11 +02:00
.vscode Handle SIGTERM (#3) 2021-06-24 20:00:55 +03:00
fluence Update Fluence to v0.7.3 2023-01-23 14:58:43 +00:00
s6 fix: Manage IPFS addresses settings (#71) 2022-11-21 12:44:12 +02:00
.gitignore Add services.json & fluence.json (#8) 2021-09-02 12:48:48 +03:00
docker-compose.yml chore: expose ipfs ports and use latest images in compose yamls [fixes NET-329] (#88) 2023-01-24 15:45:27 +04:00
Dockerfile chore: Add release-please [fixed FLU-208 and FLU-225] (#89) 2023-01-24 17:29:11 +02:00
LICENSE Initial commit 2021-06-21 16:37:26 +03:00
local-network-compose.yml chore: expose ipfs ports and use latest images in compose yamls [fixes NET-329] (#88) 2023-01-24 15:45:27 +04:00
README.md chore(ci): Push docker images as fluencebot (#85) 2022-12-26 12:17:57 +02:00

rust-peer distro

The distributive and packaging of the rust-peer.

Currently provides Network Dashboard as a side-car.

Image tags

Container flavour IPFS daemon services binaries
minimal aqua-ipfs, trust-graph, registry curl, ipfs
ipfs aqua-ipfs, trust-graph, registry curl, ipfs
rich aqua-ipfs, trust-graph, registry curl, ipfs, ceramic, bitcoin cli, geth cli

latest points to the latest version of ipfs flavour

minimal

Contains rust-peer itself and some builtin services:

For those who want to run IPFS node separately. Serves as a base image for all other image flavours.

FLUENCE_ENV_AQUA_IPFS_* variables must be defined and point to externally running IPFS daemon in order for aqua-ipfs to work. If not defined aqua-ipfs builtin will be removed.

variable default description
FLUENCE_ENV_AQUA_IPFS_EXTERNAL_API_MULTIADDR /dns4/ipfs.fluence.dev/tcp/5001 advertised to clients (eg frontend apps) to use in uploading files (ipfs.put), managing pins (ipfs.pin) etc
FLUENCE_ENV_AQUA_IPFS_LOCAL_API_MULTIADDR /dns4/ipfs.fluence.dev/tcp/5001 used by aqua-ipfs builtin to connect to IPFS node

ipfs

rust-peer packaged with IPFS node running inside container.

variable default description
IPFS_PATH /config/ipfs IPFS node data directory
IPFS_LOG_PATH /log/ipfs directory where IPFS will store its logs
IPFS_MIGRATE_FS false automatically run fs-repo-migrations on start
IPFS_ADDRESSES_SWARM /ip4/0.0.0.0/tcp/4001,/ip4/0.0.0.0/tcp/4001/ws IPFS swarm multiaddr
IPFS_ADDRESSES_API /ip4/0.0.0.0/tcp/5001 IPFS API multiaddr
IPFS_ADDRESSES_GATEWAY /ip4/0.0.0.0/tcp/8080 IPFS gateway multiaddr
IPFS_ADDRESSES_ANNOUNCE /ip4/127.0.0.1/tcp/4001,/ip4/127.0.0.1/tcp/4001/ws IPFS p2p multiaddr of the IPFS swarm protocol
FLUENCE_ENV_AQUA_IPFS_EXTERNAL_API_MULTIADDR /ip4/127.0.0.1/tcp/5001 advertised to clients (eg frontend apps) to use in uploading files (ipfs.put), managing pins (ipfs.pin) etc
FLUENCE_ENV_AQUA_IPFS_LOCAL_API_MULTIADDR /ip4/127.0.0.1/tcp/5001 used by aqua-ipfs builtin to connect to IPFS node

rich

rust-peer packaged with IPFS node, Ceramic CLI and some other binaries like bitcoin-cli or geth.

variable default description
CERAMIC_HOST ceramic daemon address
IPFS_PATH /config/ipfs IPFS node data directory
IPFS_LOG_PATH /log/ipfs directory where IPFS will store its logs
IPFS_MIGRATE_FS false automatically run fs-repo-migrations on start
IPFS_ADDRESSES_SWARM /ip4/0.0.0.0/tcp/4001,/ip4/0.0.0.0/tcp/4001/ws IPFS swarm multiaddr
IPFS_ADDRESSES_API /ip4/0.0.0.0/tcp/5001 IPFS API multiaddr
IPFS_ADDRESSES_GATEWAY /ip4/0.0.0.0/tcp/8080 IPFS gateway multiaddr
IPFS_ADDRESSES_ANNOUNCE /ip4/127.0.0.1/tcp/4001,/ip4/127.0.0.1/tcp/4001/ws IPFS announce multiaddr
FLUENCE_ENV_AQUA_IPFS_EXTERNAL_API_MULTIADDR /ip4/127.0.0.1/tcp/5001 advertised to clients (eg frontend apps) to use in uploading files (ipfs.put), managing pins (ipfs.pin) etc
FLUENCE_ENV_AQUA_IPFS_LOCAL_API_MULTIADDR /ip4/127.0.0.1/tcp/5001 used by aqua-ipfs builtin to connect to IPFS node

How to run

Copy docker-compose.yml locally and run

docker-compose up -d

That will run 2 containers: local rust-peer and Network Dashboard connected to it.

How to open dashboard

Open http://localhost:8080 in your browser