storj-up
is a swiss-army tool to create / customize Storj clusters with the help of docker-compose
(not just storagenode but all satellite and edge services).
This is useful for Storj development and not for Storage Node operator.
Install the tool:
go install `storj.io/storj-up
Go an empty directory an initialize docker-compose:
storj-up init
Start the cluster:
docker-compose up -d
docker-compose ps
You can check the generated credentials with:
storj-up credentials
You can set the required environment variables with eval $(storj-up credentials -e)
.
Or you can update the credentials of local rclone
setup with storj-up credentials -w
There are dedicated subcommands to modify the docker-compose
easily. The generic form of these commands:
storj-up <subcommand> <selector> <argument>
Here selector
can be either a service (like storagenode
) or a name of a service group. (like edge
). To find out all the groups, please use storj-up services