Skip to content

Commit

Permalink
🏷️ update: Docker Compose Elastic Kibana Stack
Browse files Browse the repository at this point in the history
  • Loading branch information
mrofisr committed Dec 9, 2024
1 parent 75526e3 commit 5027a30
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
21 changes: 9 additions & 12 deletions elasticsearch/configs/kibana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ server.port: 5601
# Elasticsearch Connection
elasticsearch.hosts: ["http://elasticsearch:9200"]
elasticsearch.username: "kibana_system"

# Security and Encryption
xpack.security.enabled: true
xpack.security.session.idleTimeout: "8h"
xpack.security.session.lifespan: "30d"
elasticsearch.ssl.verificationMode: "none"

# Monitoring
monitoring.ui.container.elasticsearch.enabled: true
Expand All @@ -19,18 +15,19 @@ xpack.monitoring.enabled: true
# Saved Objects Encryption
xpack.encryptedSavedObjects.encryptionKey: "12754b72d79043e273d9ac37da5103684608bc2bb5cd54d4ddb665adc85f4d7d"

# Logging
# Logging Configuration
logging:
root:
level: info
appenders: [default, file]
appenders:
file:
type: file
fileName: /usr/share/kibana/logs/kibana.log
layout:
type: json
root:
appenderRef: file
level: info

# Plugins and UI Settings
telemetry.optIn: false
telemetry.enabled: false
# Telemetry Settings
telemetry:
optIn: false
enabled: false
5 changes: 3 additions & 2 deletions elasticsearch/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:

# Monitoring and logging
- xpack.monitoring.collection.enabled=true

ulimits:
memlock:
soft: -1
Expand Down Expand Up @@ -101,7 +101,8 @@ services:
# Monitoring and logging
- XPACK_MONITORING_ENABLED=true
- XPACK_MONITORING_COLLECTION_ENABLED=true


- NODE_OPTIONS=--openssl-legacy-provider
volumes:
- kibana-data:/usr/share/kibana/data
- ./configs/kibana.yml:/usr/share/kibana/config/kibana.yml:ro
Expand Down

0 comments on commit 5027a30

Please sign in to comment.