sulu-docker icon indicating copy to clipboard operation
sulu-docker copied to clipboard

Change default volume filepath for ElasticSearch

Open MIsySphere opened this issue 1 year ago • 0 comments

Hi,

I tried to launch your sulu docker repo on my dev computer.

During first launch, I received this issue for elasticsearch image like explain here : https://stackoverflow.com/questions/65668188/elastic-search-accessdeniedexception-usr-share-elasticsearch-data-nodes-0-a

Like in post, I've to change default volume filepath in docker-compose :

volumes:
  - ./data/elasticsearch:/usr/share/elasticsearch/data
  

with

volumes:
  - ./data/elasticsearch:/**var**/**lib**/elasticsearch/data

Works well for me after this modification.

I let you modify in your template if you think it's necessary.

Thanks for your great job with sulu :+1:

Regards, B.

MIsySphere avatar Dec 06 '22 09:12 MIsySphere