docker-solr / docker-solr-examples

Examples for Docker-Solr
Apache License 2.0
61 stars 58 forks source link

feat: add basic auth to docker-compose's solr cloud #13

Open Tin opened 3 years ago

Tin commented 3 years ago

Solr 8's upgrade blocks schema upload when the authentication is disabled. Adding a default security.json will let developer notice this intentional change.

The solrEnableAuth container is short-lived, it just copies the security.json to zookeeper and dies.

I'm not sure if this docker-compose should replace the no-basic-auth-protected docker-compose.yml. Let me know if it's better to put this example in a different folder.

Cheers!