Skip to content

Change default volume filepath for ElasticSearch  #60

@MIsySphere

Description

@MIsySphere

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 👍

Regards,
B.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions