Deployment
Last updated
Last updated
Deployment of a new ORBS-VM is done using a git pull request in the
Now that your Dapp has healthcheck installed, uses the correct workdir, and writes status, you can use docker build and push to any docker registry.
Before you execute docker push!, it is very important to tag your ORBS-VM docker image in the following format:
v{Major}.{Minor}.{Patch}
Run the following commands in the .Dockerfile
folder :
Consider the mainnet.json file:
The above holds a description of an ORBS node's containers.
In this file, you can see many of the Orbs Network's core components, and two instances of ORBS-VM.
Please note that all images are tagged in the format of
v{Major}.{Minor}.{Patch}
. This is crucial when an upgrade is taking place.
Now, let us add "vm-example"
Docker Image is hosted on some example-docker-registry.io
The container listens to port 3333
It has some configurable variables which are displayed in the VMs status.json
The Orbs core team will then:
Review the validity of the json.
Check that the registry and image exist.
Deploy to 0xStaging.
Monitor Health and performance for a few hours or days, depending on the complexity of your Dapp.
Contact you to review the Dapp's performance on 0xStaging.
Once these steps are complete, your ORBS-VM will deploy to the network
Upgrade can be as simple as editing your entry in mainnet.json. For example:
In the above example you can see that all parts of the ORBS-VM descriptor can be updated
Image version
Port
Config
Please make sure that the docker image tag version is advanced, or an upgrade won't be able to take place!
Once the above has been added to the file, submit this change as a PR to the