3 execute ./docker/vapord/deploy.sh from the root of vapor repo.
5 every vapord image has a unique public key, always create only one instance per image, otherwise you would end up with multiple nodes with same public key.
10 bash ./docker/vapord/deploy.sh --help
13 ## build and run 2 vapor nodes
16 bash ./docker/vapord/deploy.sh --scale=2
19 ## list available node images and public keys
22 bash ./docker/vapord/deploy.sh --list
25 ## remove all node images
28 bash ./docker/vapord/deploy.sh --rm-all
31 ## remove 2 node images
34 bash ./docker/vapord/deploy.sh --rm=vapord_test-ade32,vapord_test-342de
37 ## build 2 node images (build only)
40 bash ./docker/vapord/deploy.sh --build=2
43 ## run 2 vapor nodes instances from existing images
46 bash ./docker/vapord/deploy.sh --run=vapord_test-ade32,vapord_test-342de
49 ## run vapor node instances from all existing images
52 bash ./docker/vapord/deploy.sh --run-all
55 ## bring down running node instances
58 bash ./docker/vapord/deploy.sh --down
63 * id: first 5 chars of public key
64 * node_name : vapord-${id}
65 * image name: vapord_test-${id}:latest
66 * wallet port : start from 9889, and increases by 1 every time a new node image is created.
67 * log location: ~/vapord/log/${node_name}
68 * docker-compose.yml location: ~/vapord/docker-compose.yml
72 * config.toml and federation.json are provided for reference only. They should be modified for your own test env.