This repository hosts the Docker Compose file necessary for deploying the VSC node.
-
Install Docker and Docker compose v2.
-
git clone https://github.com/vsc-eco/vsc-deployment
Clone this repository as a normal user (not root/admin) to a desired location. It's crucial to ensure the Docker user has write permissions in the directory where you plan to initiate the Docker Compose file. -
docker compose run init
Initialize the configuration files -
Edit the config file located at
./data/config/identityConfig.json
and be sure to add in your Hive username and active key -
docker compose up -d
Start the Docker containers. This will add a GraphQL server on port 8080, a MongoDB instance on port 27021, and a libp2p connection on port 10720.
To launch the node, execute docker compose up -d
from the command line (or docker-compose up -d
depending on your docker compose version).
For real-time log observation, use docker logs go-vsc-node -f
.
The node is designed to self-update as necessary. However, on rare occasions, the deployment configuration may require manual updates not covered by automatic updates. Should such a situation arise, we will inform the community through our usual communication channels discord and twitter.
You can disable automatic updates by setting the environment variable AUTO_UPDATE
to false. However, we recommend to keep this feature enabled to ensure the node is always up-to-date. In our rapidly evolving ecosystem, it's crucial to keep the node updated for optimal network health.