Skip to content

Commit

Permalink
Adding KIBANA_URL environmental variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MSAdministrator committed Oct 21, 2021
1 parent ef5ff13 commit cd0fd30
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env-example
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ELK_VERSION=7.12.0
ELASTIC_USERNAME=elastic
ELASTIC_PASSWORD=some_password
KIBANA_URL=https://0.0.0.0:5601

# Configuration Variables
ELASTICSEARCH_HEAP=2g
Expand Down
1 change: 1 addition & 0 deletions docker-compose.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ services:
ELASTIC_USERNAME: ${ELASTIC_USERNAME}
ELASTIC_PASSWORD: ${ELASTIC_PASSWORD}
ENCRYPTION_KEY: ${XPACK_ENCRYPTION_KEY}
KIBANA_URL: ${KIBANA_URL}
secrets:
- source: ca.crt
target: ${KIBANA_DIR}/config/ca.crt
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ services:
ELASTIC_USERNAME: ${ELASTIC_USERNAME}
ELASTIC_PASSWORD: ${ELASTIC_PASSWORD}
ENCRYPTION_KEY: ${XPACK_ENCRYPTION_KEY}
KIBANA_URL: ${KIBANA_URL}
secrets:
- source: ca.crt
target: ${KIBANA_DIR}/config/ca.crt
Expand Down
1 change: 1 addition & 0 deletions kibana/config/kibana.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
server.name: kibana
server.host: 0.0.0.0
server.publicBaseUrl: "${KIBANA_URL}"

# Elasticsearch settings
elasticsearch.hosts: [ "https://elasticsearch:9200" ]
Expand Down

0 comments on commit cd0fd30

Please sign in to comment.