Skip to content

Commit

Permalink
Update docker compose yaml (#172)
Browse files Browse the repository at this point in the history
* Update docker compose yaml

* Fix ci
  • Loading branch information
Aiee authored Dec 21, 2021
1 parent 9e0847b commit ad04cc9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,9 @@ func TestReconnect(t *testing.T) {
for i := 0; i < len(sessionList); i++ {
sessionList[i].Release()
}

// Wait for graphd to be up
time.Sleep(5 * time.Second)
}

func TestIpLookup(t *testing.T) {
Expand Down
15 changes: 15 additions & 0 deletions nebula-docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -410,5 +410,20 @@ services:
cap_add:
- SYS_PTRACE

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

networks:
nebula-net:

0 comments on commit ad04cc9

Please sign in to comment.