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
6266606a
Commit
6266606a
authored
Oct 24, 2023
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
51d33e0e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
15 deletions
+12
-15
docker-compose.yml
docker-compose.yml
+7
-9
start.sh
net/net1/start.sh
+2
-3
start.sh
net/net2/start.sh
+3
-3
No files found.
docker-compose.yml
View file @
6266606a
...
@@ -5,9 +5,8 @@ services:
...
@@ -5,9 +5,8 @@ services:
image
:
192.168.1.220:5000/metanet:v0.0.1
image
:
192.168.1.220:5000/metanet:v0.0.1
container_name
:
net
container_name
:
net
volumes
:
volumes
:
-
./net/net1/:/root/net/
-
./net/net1/start.sh:/root/start.sh
-
./data/net1:/root
entrypoint
:
/bin/sh /root/start.sh
entrypoint
:
/bin/sh /root/net/start.sh
ports
:
ports
:
-
"
38010:38010"
-
"
38010:38010"
deploy
:
deploy
:
...
@@ -18,15 +17,14 @@ services:
...
@@ -18,15 +17,14 @@ services:
window
:
120s
window
:
120s
networks
:
networks
:
meta
:
meta
:
ipv4_address
:
172.99.
0
.1
ipv4_address
:
172.99.
1
.1
net2
:
net2
:
image
:
192.168.1.220:5000/metanet:v0.0.1
image
:
192.168.1.220:5000/metanet:v0.0.1
container_name
:
net2
container_name
:
net2
volumes
:
volumes
:
-
./net/net2/:/root/net/
-
./net/net2/start.sh:/root/start.sh
-
./data/net2:/root
entrypoint
:
/bin/sh /root/start.sh
entrypoint
:
/bin/sh /root/net/start.sh
ports
:
ports
:
-
"
38011:38010"
-
"
38011:38010"
deploy
:
deploy
:
...
@@ -37,7 +35,7 @@ services:
...
@@ -37,7 +35,7 @@ services:
window
:
120s
window
:
120s
networks
:
networks
:
meta
:
meta
:
ipv4_address
:
172.99.
0
.2
ipv4_address
:
172.99.
1
.2
nebula
:
nebula
:
image
:
192.168.1.220:5000/nebula:v0.0.1
image
:
192.168.1.220:5000/nebula:v0.0.1
...
...
net/net1/start.sh
View file @
6266606a
#!/bin/bash
#!/bin/sh
/root/MetaNet
--single-node
--enable-prom
--log-level
debug
\
/root/MetaNet
--single-node
--enable-prom
--log-level
debug
\
--p2p-priv-key
a5b18000b95e9e8e2afe5d49355b48c99aeee9e986ddc144af848847afd18df3
\
--p2p-priv-key
a5b18000b95e9e8e2afe5d49355b48c99aeee9e986ddc144af848847afd18df3
\
--grpc-host
0.0.0.0
--grpc-port
38010
--p2p-host-ip
172.99.0.1
--grpc-host
0.0.0.0
--grpc-port
38010
--p2p-host-ip
172.99.1.1
\ No newline at end of file
net/net2/start.sh
View file @
6266606a
#!/bin/
ba
sh
#!/bin/sh
/root/MetaNet
--single-node
--enable-prom
--log-level
debug
\
/root/MetaNet
--single-node
--enable-prom
--log-level
debug
\
--peer
/ip4/172.99.0.1/tcp/30333/p2p/16Uiu2HAkzyUdhtxksEjKmYukux7ecvzw9JFKqHsy1iDYYDuck12h
\
--peer
/ip4/172.99.1.1/tcp/30333/p2p/16Uiu2HAkzyUdhtxksEjKmYukux7ecvzw9JFKqHsy1iDYYDuck12h
\
--grpc-host
0.0.0.0
--grpc-port
38010
--p2p-host-ip
172.99.0.2
--grpc-host
0.0.0.0
--grpc-port
38010
--p2p-host-ip
172.99.1.2
\ No newline at end of file
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