Skip to content

Commit

Permalink
specify ssl config for console (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicole00 authored Jan 7, 2022
1 parent 516abb7 commit 0cae1bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion client/src/test/resources/docker-compose-casigned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,10 @@ services:
- -c
- |
sleep 3 &&
nebula-console -addr graphd-casigned -port 9669 -u root -p nebula -e 'ADD HOSTS "172.29.2.1":9779' &&
nebula-console -addr graphd-casigned -port 9669 -u root -p nebula -enable_ssl=true -ssl_root_ca_path /share/resources/test.ca.pem -ssl_cert_path /share/resources/test.derive.crt -ssl_private_key_path /share/resources/test.derive.key --ssl_insecure_skip_verify=true -e 'ADD HOSTS "172.29.2.1":9779' &&
sleep 36000
volumes:
- ./ssl:/share/resources:Z
depends_on:
- graphd-casigned
networks:
Expand Down
6 changes: 5 additions & 1 deletion client/src/test/resources/docker-compose-selfsigned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,12 @@ services:
- -c
- |
sleep 3 &&
nebula-console -addr graphd-selfsigned -port 9669 -u root -p nebula -e 'ADD HOSTS "172.30.2.1":9779' &&
nebula-console -addr graphd-selfsigned -port 9669 -u root -p nebula -enable_ssl=true -ssl_root_ca_path /share/resources/test.ca.pem -ssl_cert_path /share/resources/test.derive.crt -ssl_private_key_path /share/resources/test.derive.key --ssl_insecure_skip_verify=true -e 'ADD HOSTS "172.30.2.1":9779' &&
sleep 36000
volumes:
- ./data/graph_self:/data/graph:Z
- ./logs/graph:/logs:Z
- ./ssl:/share/resources:Z
depends_on:
- graphd-selfsigned
networks:
Expand Down

0 comments on commit 0cae1bb

Please sign in to comment.