Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
deployer_la_suite_elk_grace_a_docker_compose [2025/05/22 15:43] superadmindeployer_la_suite_elk_grace_a_docker_compose [2025/05/22 16:16] (Version actuelle) – [Sources] superadmin
Ligne 1: Ligne 1:
 ====== Déployer la suite ELK grâce à Docker Compose ====== ====== Déployer la suite ELK grâce à Docker Compose ======
 +
 +Documentation pour installer la suite ELK sous forme de conteneurs Docker
  
 [[procedure_d_installation_d_elk|Procédure d'installation de la suite ELK (hors docker)]] [[procedure_d_installation_d_elk|Procédure d'installation de la suite ELK (hors docker)]]
 +
 +===== Instructions =====
 +
  
 Configuration Docker Compose pour Elasticsearch + Kibana (docker-compose.yml) : Configuration Docker Compose pour Elasticsearch + Kibana (docker-compose.yml) :
Ligne 165: Ligne 170:
 Fichier .env pour la configuration des variables : Fichier .env pour la configuration des variables :
            
-     <code> +<code> 
-     # Project namespace (defaults to the current folder name if not set)+# Project namespace (defaults to the current folder name if not set)
 #COMPOSE_PROJECT_NAME=myproject #COMPOSE_PROJECT_NAME=myproject
- 
  
 # Password for the 'elastic' user (at least 6 characters) # Password for the 'elastic' user (at least 6 characters)
 ELASTIC_PASSWORD=changeme ELASTIC_PASSWORD=changeme
- 
  
 # Password for the 'kibana_system' user (at least 6 characters) # Password for the 'kibana_system' user (at least 6 characters)
 KIBANA_PASSWORD=changeme KIBANA_PASSWORD=changeme
- 
  
 # Version of Elastic products # Version of Elastic products
 STACK_VERSION=8.7.1 STACK_VERSION=8.7.1
- 
  
 # Set the cluster name # Set the cluster name
 CLUSTER_NAME=docker-cluster CLUSTER_NAME=docker-cluster
- 
  
 # Set to 'basic' or 'trial' to automatically start the 30-day trial # Set to 'basic' or 'trial' to automatically start the 30-day trial
 LICENSE=basic LICENSE=basic
 #LICENSE=trial #LICENSE=trial
- 
  
 # Port to expose Elasticsearch HTTP API to the host # Port to expose Elasticsearch HTTP API to the host
 ES_PORT=9200 ES_PORT=9200
- 
  
 # Port to expose Kibana to the host # Port to expose Kibana to the host
 KIBANA_PORT=5601 KIBANA_PORT=5601
- 
  
 # Increase or decrease based on the available host memory (in bytes) # Increase or decrease based on the available host memory (in bytes)
Ligne 203: Ligne 200:
 KB_MEM_LIMIT=1073741824 KB_MEM_LIMIT=1073741824
 LS_MEM_LIMIT=1073741824 LS_MEM_LIMIT=1073741824
- 
  
 # SAMPLE Predefined Key only to be used in POC environments # SAMPLE Predefined Key only to be used in POC environments
 ENCRYPTION_KEY=c34d38b3a14956121ff2170e5030b471551370178f43e5626eec58b04a30fae2 ENCRYPTION_KEY=c34d38b3a14956121ff2170e5030b471551370178f43e5626eec58b04a30fae2
 </code> </code>
 +
 +===== Sources =====
 +
 +[[https://www.elastic.co/blog/getting-started-with-the-elastic-stack-and-docker-compose|📖 Getting started with the Elastic Stack and Docker Compose: Part 1]]