mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-10-31 20:13:41 +00:00 
			
		
		
		
	log4j workaround
This commit is contained in:
		| @@ -90,6 +90,7 @@ services: | ||||
|       - ./production_cluster/ssl_certs/admin.key:/usr/share/elasticsearch/config/admin.key | ||||
|       - ./production_cluster/elastic_opendistro/elasticsearch-node1.yml:/usr/share/elasticsearch/config/elasticsearch.yml | ||||
|       - ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml | ||||
|       - ./production_cluster/elastic_opendistro/disabledlog4j.options:/etc/elasticsearch/jvm.options.d/disabledlog4j.options | ||||
|  | ||||
|   elasticsearch-2: | ||||
|     image: amazon/opendistro-for-elasticsearch:1.13.2 | ||||
| @@ -111,6 +112,7 @@ services: | ||||
|       - ./production_cluster/ssl_certs/node2.pem:/usr/share/elasticsearch/config/node2.pem | ||||
|       - ./production_cluster/elastic_opendistro/elasticsearch-node2.yml:/usr/share/elasticsearch/config/elasticsearch.yml | ||||
|       - ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml | ||||
|       - ./production_cluster/elastic_opendistro/disabledlog4j.options:/etc/elasticsearch/jvm.options.d/disabledlog4j.options | ||||
|  | ||||
|   elasticsearch-3: | ||||
|     image: amazon/opendistro-for-elasticsearch:1.13.2 | ||||
| @@ -132,6 +134,7 @@ services: | ||||
|       - ./production_cluster/ssl_certs/node3.pem:/usr/share/elasticsearch/config/node3.pem | ||||
|       - ./production_cluster/elastic_opendistro/elasticsearch-node3.yml:/usr/share/elasticsearch/config/elasticsearch.yml | ||||
|       - ./production_cluster/elastic_opendistro/internal_users.yml:/usr/share/elasticsearch/plugins/opendistro_security/securityconfig/internal_users.yml | ||||
|       - ./production_cluster/elastic_opendistro/disabledlog4j.options:/etc/elasticsearch/jvm.options.d/disabledlog4j.options | ||||
|  | ||||
|   kibana: | ||||
|     image: wazuh/wazuh-kibana-odfe:4.3.0 | ||||
|   | ||||
| @@ -0,0 +1 @@ | ||||
| -Dlog4j2.formatMsgNoLookups=true | ||||
| @@ -72,6 +72,7 @@ services: | ||||
|       - ./xpack/ca/ca.crt:/usr/share/elasticsearch/config/ca.crt | ||||
|       - ./xpack/elasticsearch/elasticsearch.key:/usr/share/elasticsearch/config/elasticsearch.key | ||||
|       - ./xpack/elasticsearch/elasticsearch.crt:/usr/share/elasticsearch/config/elasticsearch.crt | ||||
|       - ./xpack/disabledlog4j.options:/etc/elasticsearch/jvm.options.d/disabledlog4j.options | ||||
|  | ||||
|   elasticsearch2: | ||||
|     image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2 | ||||
| @@ -107,6 +108,7 @@ services: | ||||
|       - ./xpack/ca/ca.crt:/usr/share/elasticsearch/config/ca.crt | ||||
|       - ./xpack/elasticsearch2/elasticsearch2.key:/usr/share/elasticsearch/config/elasticsearch.key | ||||
|       - ./xpack/elasticsearch2/elasticsearch2.crt:/usr/share/elasticsearch/config/elasticsearch.crt | ||||
|       - ./xpack/disabledlog4j.options:/etc/elasticsearch/jvm.options.d/disabledlog4j.options | ||||
|  | ||||
|   elasticsearch3: | ||||
|     image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2 | ||||
| @@ -142,7 +144,7 @@ services: | ||||
|       - ./xpack/ca/ca.crt:/usr/share/elasticsearch/config/ca.crt | ||||
|       - ./xpack/elasticsearch3/elasticsearch3.key:/usr/share/elasticsearch/config/elasticsearch.key | ||||
|       - ./xpack/elasticsearch3/elasticsearch3.crt:/usr/share/elasticsearch/config/elasticsearch.crt | ||||
|  | ||||
|       - ./xpack/disabledlog4j.options:/etc/elasticsearch/jvm.options.d/disabledlog4j.options | ||||
|  | ||||
|  | ||||
|   kibana: | ||||
|   | ||||
							
								
								
									
										1
									
								
								xpack/disabledlog4j.options
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								xpack/disabledlog4j.options
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| -Dlog4j2.formatMsgNoLookups=true | ||||
		Reference in New Issue
	
	Block a user