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
c2312097
Commit
c2312097
authored
Oct 24, 2023
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udpate docker image
parent
a15aee9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
50 deletions
+84
-50
docker-compose.yml
docker-compose.yml
+84
-50
No files found.
docker-compose.yml
View file @
c2312097
...
@@ -2,7 +2,7 @@ version: "3.9"
...
@@ -2,7 +2,7 @@ version: "3.9"
services
:
services
:
net
:
net
:
image
:
net
image
:
192.168.1.220:5000/metanet:0.1
container_name
:
net
container_name
:
net
volumes
:
volumes
:
-
./net/net1/:/root/net/
-
./net/net1/:/root/net/
...
@@ -24,6 +24,14 @@ services:
...
@@ -24,6 +24,14 @@ services:
entrypoint
:
/bin/sh /root/net/start.sh
entrypoint
:
/bin/sh /root/net/start.sh
ports
:
ports
:
-
"
38011:38010"
-
"
38011:38010"
net2
:
image
:
192.168.1.220:5000/metanet:latest
container_name
:
net2
volumes
:
-
./net/net2/:/root/net/
entrypoint
:
/bin/sh /root/net/start.sh
ports
:
-
"
38011:38010"
deploy
:
deploy
:
restart_policy
:
restart_policy
:
condition
:
on-failure
condition
:
on-failure
...
@@ -31,31 +39,9 @@ services:
...
@@ -31,31 +39,9 @@ services:
max_attempts
:
100
max_attempts
:
100
window
:
120s
window
:
120s
txchecker
:
nebula2
:
image
:
txchecker
container_name
:
txchecker
deploy
:
restart_policy
:
condition
:
on-failure
delay
:
15s
max_attempts
:
100
window
:
120s
sentry
:
image
:
sentry
container_name
:
sentry
deploy
:
restart_policy
:
condition
:
on-failure
delay
:
15s
max_attempts
:
100
window
:
120s
volumes
:
-
./sentry/app.json:/root/app.json
nebula
:
image
:
nebula
image
:
nebula
container_name
:
nebula
container_name
:
nebula
2
depends_on
:
depends_on
:
-
net
-
net
-
net2
-
net2
...
@@ -67,12 +53,12 @@ services:
...
@@ -67,12 +53,12 @@ services:
max_attempts
:
100
max_attempts
:
100
window
:
120s
window
:
120s
volumes
:
volumes
:
-
./nebula/nebula
1
/config.toml:/root/config.toml
-
./nebula/nebula
2
/config.toml:/root/config.toml
-
./nebula/nebula
1
/genesis.json:/root/genesis.json
-
./nebula/nebula
2
/genesis.json:/root/genesis.json
-
./nebula/nebula
1
/data:/root/data
-
./nebula/nebula
2
/data:/root/data
nebula2
:
nebula2
:
image
:
nebula
image
:
192.168.1.220:5000/nebula:v0.0.1
container_name
:
nebula2
container_name
:
nebula2
depends_on
:
depends_on
:
-
net
-
net
...
@@ -89,9 +75,9 @@ services:
...
@@ -89,9 +75,9 @@ services:
-
./nebula/nebula2/genesis.json:/root/genesis.json
-
./nebula/nebula2/genesis.json:/root/genesis.json
-
./nebula/nebula2/data:/root/data
-
./nebula/nebula2/data:/root/data
cryptor
:
cryptor
1
:
image
:
cryptor
image
:
192.168.1.220:5000/cryptor:v0.0.1
container_name
:
cryptor
container_name
:
cryptor
1
deploy
:
deploy
:
restart_policy
:
restart_policy
:
condition
:
on-failure
condition
:
on-failure
...
@@ -100,33 +86,81 @@ services:
...
@@ -100,33 +86,81 @@ services:
window
:
120s
window
:
120s
volumes
:
volumes
:
-
./cryptor/config.toml:/root/config.toml
-
./cryptor/config.toml:/root/config.toml
ring
:
image
:
ring
cryptor2
:
container_name
:
ring
image
:
192.168.1.220:5000/cryptor:v0.0.1
entrypoint
:
MetaRing start --ethconfig.httphost 0.0.0.0 --mempool.sentryurl sentry:38003 --mempool.nebulaurl nebula:38004 --mempool.p2purl net:38010 --mempool.cryptourl cryptor:38001 --mempool.checkerurl txchecker:38002
container_name
:
cryptor2
deploy
:
restart_policy
:
condition
:
on-failure
delay
:
15s
max_attempts
:
100
window
:
120s
volumes
:
-
./cryptor/config.toml:/root/config.toml
ring1
:
image
:
192.168.1.220:5000/ring:v0.0.1
container_name
:
ring1
entrypoint
:
sh -c 'echo "ring" && sleep 10 && ringd start --ethconfig.httphost 0.0.0.0 --mempool.sentryurl sentry:38003 --mempool.nebulaurl nebula:38004 --mempool.p2purl net:38010 --mempool.cryptourl cryptor1:38001 --mempool.checkerurl txchecker:38002 --mempool.writeunreadytxs=false --mempool.writerepeatedmsg=false --mempool.batchconfirminittimeout=60 --mempool.batchconfirmtimeouti=1.5 --mempool.batchrepeatedqueuesize=0 >> /data/log'
#>> /data/log
volumes
:
-
./data/metaring1:/data
depends_on
:
depends_on
:
-
cryptor1
-
net
-
net
-
net2
-
net2
-
sentry
-
sentry
-
nebula
-
nebula2
-
cryptor
deploy
:
deploy
:
#
resources:
resources
:
#
limits:
limits
:
# cpus: "20
.00"
cpus
:
"
36
.00"
# memory: 2
0G
memory
:
5
0G
#
reservations:
reservations
:
# cpus: "16
.00"
cpus
:
"
30
.00"
# memory: 16
G
memory
:
50
G
restart_policy
:
restart_policy
:
condition
:
on-failure
condition
:
on-failure
delay
:
15s
delay
:
15s
max_attempts
:
100
max_attempts
:
100
window
:
120s
window
:
120s
ports
:
ports
:
-
"
8545:8545"
<<<<<<< HEAD
-
"
5001:5001"
- 8545:8545
- 5001:5001
- 38020:38020
- 6060:6060
ring2
:
image
:
192.168.1.220:5000/ring:v0.0.1
container_name
:
ring2
entrypoint
:
sh -c 'echo "ring" && sleep 1 && ringd start --ethconfig.httphost 0.0.0.0 --mempool.sentryurl sentry:38003 --mempool.nebulaurl nebula2:38004 --mempool.p2purl net2:38010 --mempool.cryptourl cryptor2:38001 --mempool.checkerurl txchecker:38002 --mempool.writeunreadytxs=false --mempool.writerepeatedmsg=false --mempool.batchconfirminittimeout=60 --mempool.batchconfirmtimeouti=1.5 --mempool.batchrepeatedqueuesize=0 >> /data/log'
#>> /data/log
volumes
:
-
./data/metaring2:/data
depends_on
:
-
cryptor2
-
net
-
sentry
deploy
:
resources
:
limits
:
cpus
:
"
36.00"
memory
:
50G
reservations
:
cpus
:
"
30.00"
memory
:
50G
restart_policy
:
condition
:
on-failure
delay
:
15s
max_attempts
:
100
window
:
120s
ports
:
-
8546:8545
-
5002:5001
-
38021:38020
-
6061:6060
prometheus
:
prometheus
:
image
:
prom/prometheus:latest
image
:
prom/prometheus:latest
...
@@ -152,11 +186,11 @@ services:
...
@@ -152,11 +186,11 @@ services:
-
/sys:/sys:ro
-
/sys:/sys:ro
-
/var/lib/docker/:/var/lib/docker:ro
-
/var/lib/docker/:/var/lib/docker:ro
depends_on
:
depends_on
:
-
ring
-
ring1
-
ring2
-
net
-
net
-
net2
-
net2
-
sentry
-
sentry
-
txchecker
-
txchecker
-
cryptor
-
nebula
-
nebula
-
nebula2
-
nebula2
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