Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
metadeploy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nebula
metadeploy
Commits
57c7576b
Commit
57c7576b
authored
Oct 26, 2023
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update scripts
parent
9327b9a2
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
123 deletions
+22
-123
host.sh
host/host.sh
+22
-0
start.sh
host/start.sh
+0
-12
stop.sh
host/stop.sh
+0
-15
config.toml
metaring/.metaring/config/config.toml
+0
-96
.gitkeep
net/.gitkeep
+0
-0
No files found.
host/host.sh
View file @
57c7576b
...
@@ -16,6 +16,7 @@ cd ../host/
...
@@ -16,6 +16,7 @@ cd ../host/
rm
-rfv
./data/nebula/
*
rm
-rfv
./data/nebula/
*
rm
-rfv
./data/net/
*
rm
-rfv
./data/net/
*
# rm -rfv ./data/prometheus/*
config_dir
=
$PWD
/data/nebula/
config_dir
=
$PWD
/data/nebula/
...
@@ -66,6 +67,27 @@ do
...
@@ -66,6 +67,27 @@ do
composefile
=
"docker-compose_host-
$i
.yml"
composefile
=
"docker-compose_host-
$i
.yml"
startfile
=
"start-
$i
.sh"
stopfile
=
"stop-
$i
.sh"
echo
"#!/bin/bash"
>
$startfile
echo
"set -e"
>>
$startfile
echo
"cd ../mainchain"
>>
$startfile
echo
"./scripts/run-testnet.sh"
>>
$startfile
echo
"cd ../host"
>>
$startfile
echo
"docker compose -f "
$composefile
" up -d"
>>
$startfile
chmod
+x
$startfile
echo
"#!/bin/bash"
>
$stopfile
echo
"set -e"
>>
$stopfile
echo
"cd ../mainchain"
>>
$stopfile
echo
"./scripts/stop-testnet.sh || true"
>>
$stopfile
echo
"cd ../host"
>>
$stopfile
chmod
+x
$stopfile
echo
'version: "3.9"'
>
$composefile
echo
'version: "3.9"'
>
$composefile
...
...
host/start.sh
deleted
100755 → 0
View file @
9327b9a2
#!/bin/bash
set
-e
cd
../mainchain
./scripts/run-testnet.sh
cd
../host
docker compose
-f
docker-compose_host-1.yml up
-d
host/stop.sh
deleted
100755 → 0
View file @
9327b9a2
#!/bin/bash
set
-e
cd
../mainchain
./scripts/stop-testnet.sh
||
true
# rm -rf conf/deploy || true
# cp -r conf/back0712-1439 conf/deploy
cd
../host
docker compose
-f
docker-compose_host-1.yml down
metaring/.metaring/config/config.toml
deleted
100644 → 0
View file @
9327b9a2
# This is a TOML config file.
# For more information, see https://github.com/toml-lang/toml
# NOTE: Any path below can be absolute (e.g. "/var/myawesomeapp/data") or
# relative to the home directory (e.g. "data"). The home directory is
# "$HOME/.tendermint" by default, but could be changed via $TMHOME env variable
# or --home cmd flag.
#######################################################################
### Main Base Config Options ###
#######################################################################
enabletest
=
false
#######################################################
### RPC Server Configuration Options ###
#######################################################
# TCP or UNIX socket address for the gRPC server to listen on
# NOTE: This server only supports /broadcast_tx_commit
grpc-laddr
=
"0.0.0.0"
grpc-lport
=
5001
async
=
true
broadcasttimeout
=
10
pprof-laddr
=
"0.0.0.0:6060"
#######################################################
### Mempool Configuration Options ###
#######################################################
checkerurl
=
"txchecker:38002"
cryptourl
=
"cryptor:38001"
nebulaurl
=
"nebula:38004"
p2purl
=
"net:38010"
sentryurl
=
"sentry:38003"
cryptonum
=
16
maxlimit
=
10000000
takebatchsize
=
500
timeoutbroadcastbatchtx
=
10
privatekey
=
"private key"
#######################################################################
### Eth Config Options ###
#######################################################################
enableweb3
=
true
HTTPHost
=
"localhost"
HTTPPort
=
8545
WSHost
=
"localhost"
WSPort
=
8546
httpmodules
=
"admin,web3,eth,txpool,debug,miner,net"
wsmodules
=
"admin,web3,eth,txpool,debug,miner,net"
#######################################################
### Instrumentation Configuration Options ###
#######################################################
[instrumentation]
# When true, Prometheus metrics are served under /metrics on
# PrometheusListenAddr.
# Check out the documentation for the list of available metrics.
prometheus
=
true
# Address to listen for Prometheus collector(s) connections
prometheus_listen_addr
=
":38020"
# Maximum number of simultaneous connections.
# If you want to accept a larger number than the default, make sure
# you increase your OS limits.
# 0 - unlimited.
max_open_connections
=
10
# Instrumentation namespace
namespace
=
"metaring"
net/.gitkeep
deleted
100644 → 0
View file @
9327b9a2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment