PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, October 18, 2022

[FIXED] How to run a docker image of ElasticSearch 8.4 with SSPL licence?

 October 18, 2022     docker, elasticsearch, java, spring-boot     No comments   

Issue

I am developing a spring-boot application with the aid of the new ElasticSearch Java Client 8.4. I need an ElasticSearch server running on docker with same version. Otherwise, some queries may not be performed because of incompatibility issues.

I know that ElasticSearh is no more open source from version 7.10, and has 2 kind of licences as you ca read here: https://www.elastic.co/pricing/faq/licensing

Question is, how may I implement an Elasticseach server on Docker by using free licence? What should I do on Docker in order to choose SSPL license?

Thanks


Solution

Tldr;

No need to worry, by default you will be using the free license.

Solutions

You can set it in the env.

Such as

LICENSE=basic

The default is basic (SSPL license)

xpack.license.self_generated.type:

(Static) Set to basic (default) to enable basic X-Pack features.



Answered By - Paulo
Answer Checked By - Gilberto Lyons (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing