Commit f5ad4bdd authored by Your Name's avatar Your Name

update script

parent 00d5e5ff
version: "3.9"
services:
nebula1:
image: 192.168.1.220:5000/nebula:v0.0.1
container_name: nebula1
depends_on:
- net1
- sentry1
deploy:
restart_policy:
condition: on-failure
delay: 15s
max_attempts: 100
window: 120s
volumes:
- ./nebula/config.toml:/root/config.toml
- ./nebula/genesis.json:/root/genesis.json
- ./data/nebula1:/root/data
networks:
- meta
sentry1:
image: 192.168.1.220:5000/sentry:v0.0.1
container_name: sentry1
deploy:
restart_policy:
condition: on-failure
delay: 15s
max_attempts: 100
window: 120s
volumes:
- ./sentry/app.json:/root/app.json
networks:
- meta
nebula2:
image: 192.168.1.220:5000/nebula:v0.0.1
container_name: nebula2
depends_on:
- net2
- sentry2
deploy:
restart_policy:
condition: on-failure
delay: 15s
max_attempts: 100
window: 120s
volumes:
- ./nebula2/config.toml:/root/config.toml
- ./nebula2/genesis.json:/root/genesis.json
- ./data/nebula2:/root/data
networks:
- meta
sentry2:
image: 192.168.1.220:5000/sentry:v0.0.1
container_name: sentry2
deploy:
restart_policy:
condition: on-failure
delay: 15s
max_attempts: 100
window: 120s
volumes:
- ./sentry/app.json:/root/app.json
networks:
- meta
\ No newline at end of file
......@@ -15,7 +15,9 @@ N=${1:-2}
cd mainchain
./scripts/stop-testnet.sh || true
rm -rf conf/deploy || true
echo "./mainchain/scripts/run-testnet.sh "
cp -r conf/back0712-1439 conf/deploy
cd ../
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment