Skip to content

Commit

Permalink
add console to add hosts (#104)
Browse files Browse the repository at this point in the history
* add console to add hosts

* fix typo
  • Loading branch information
HarrisChu authored Dec 21, 2021
1 parent 61f8730 commit bfda73b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,21 @@ services:
restart: on-failure
cap_add:
- SYS_PTRACE

console:
image: vesoft/nebula-console:nightly
entrypoint: ""
command:
- sh
- -c
- |
sleep 3 &&
nebula-console -addr graphd -port 9669 -u root -p nebula -e 'ADD HOSTS "storaged0":9779,"storaged1":9779,"storaged2":9779' &&
sleep 36000
depends_on:
- graphd
networks:
- nebula-net

networks:
nebula-net:

0 comments on commit bfda73b

Please sign in to comment.