Skip to content

Commit

Permalink
[ADD] docker-compose single node แบบไม่มี TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
wdrdres3qew5ts21 committed Jun 8, 2020
1 parent 9a96f48 commit 7a1d4f1
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,6 @@ services:
- certs:$CERTS_DIR
networks:
- elastic
# command: >
# bash -c '
# curl -X POST -v -k --cacert /usr/share/elasticsearch/config/certificates/ca/ca.crt "https://elasticsearch1:9200/_security/user/kibana/_password?pretty" -u elastic:PleaseChangeMe -H 'Content-Type: application/json' -d' { "password" : "PleaseChangeMe" } '

# if [[ $? == 51 ]]
# then
# echo "Connect but it not secure So fail to change Password"
# else
# echo "Skip SSL Secure Connection by -k argument so Change password Success"
# fi
# '
# depends_on: {"elasticsearch1": {"condition": "service_healthy"}}

networks:
elastic:
Expand Down

0 comments on commit 7a1d4f1

Please sign in to comment.