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
c7f50993
Commit
c7f50993
authored
Oct 24, 2023
by
贾浩@五瓣科技
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b941ad06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
docker-compose.yml
docker-compose.yml
+4
-0
net.sh
net.sh
+3
-1
No files found.
docker-compose.yml
View file @
c7f50993
...
...
@@ -7,6 +7,8 @@ services:
entrypoint
:
/root/MetaNet --single-node --enable-prom --log-level debug --p2p-priv-key /root/default-priv-key --grpc-host 0.0.0.0 --grpc-port 38010 --p2p-host-ip 172.99.1.1
ports
:
-
"
38010:38010"
volumes
:
-
./data/net1:/root/data
deploy
:
restart_policy
:
condition
:
on-failure
...
...
@@ -23,6 +25,8 @@ services:
entrypoint
:
/root/MetaNet --single-node --enable-prom --log-level debug --peer /ip4/172.99.1.1/tcp/30333/p2p/16Uiu2HAm3pzLayNahJtkYHaxWFMibZ7RuyG8BRsdj1YQRvwWYKM5 --grpc-host 0.0.0.0 --grpc-port 38010 --p2p-host-ip 172.99.1.2
ports
:
-
"
38011:38010"
volumes
:
-
./data/net2:/root/data
deploy
:
restart_policy
:
condition
:
on-failure
...
...
net.sh
View file @
c7f50993
...
...
@@ -33,7 +33,9 @@ else
fi
echo
"
$deploy
"
>>
$composefile
echo
" ports:"
>>
$composefile
echo
" -
\"
$((
38010
+
i
))
:38010
\"
"
>>
$composefile
echo
" -
\"
$((
38010
+
i
))
:38010
\"
"
>>
$composefile
echo
" volumes:"
>>
$composefile
echo
" - ./data/net
$i
:/root/data"
>>
$composefile
echo
" networks:"
>>
$composefile
echo
" meta:"
>>
$composefile
echo
" ipv4_address: 172.99.1.
$i
"
>>
$composefile
...
...
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