Skip to content

Commit

Permalink
Adding tls to Kibana in manager to elastic integration
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland committed Jul 5, 2024
1 parent a6d5857 commit 58bf4d6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion integrations/docker/manager-elastic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ services:
" - localhost\n"\
" ip:\n"\
" - 127.0.0.1\n"\
" - name: kibana\n"\
" dns:\n"\
" - kibana\n"\
" - localhost\n"\
" ip:\n"\
" - 127.0.0.1\n"\
> config/certs/instances.yml;
bin/elasticsearch-certutil cert --silent --pem -out config/certs/certs.zip --in config/certs/instances.yml --ca-cert config/certs/ca/ca.crt --ca-key config/certs/ca/ca.key;
unzip config/certs/certs.zip -d config/certs;
Expand Down Expand Up @@ -226,12 +232,15 @@ services:
- ELASTICSEARCH_USERNAME=kibana_system
- ELASTICSEARCH_PASSWORD=${KIBANA_PASSWORD}
- ELASTICSEARCH_SSL_CERTIFICATEAUTHORITIES=config/certs/ca/ca.crt
- SERVER_SSL_ENABLED=true
- SERVER_SSL_KEY=/usr/share/kibana/config/certs/kibana/kibana.key
- SERVER_SSL_CERTIFICATE=/usr/share/kibana/config/certs/kibana/kibana.crt
mem_limit: ${MEM_LIMIT}
healthcheck:
test:
[
'CMD-SHELL',
"curl -s -I http://localhost:5601 | grep -q 'HTTP/1.1 302 Found'",
"curl -s -I https://localhost:5601 | grep -q 'HTTP/1.1 302 Found'",
]
interval: 10s
timeout: 10s
Expand Down

0 comments on commit 58bf4d6

Please sign in to comment.