Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ES package support #181

Merged
merged 8 commits into from
Jul 16, 2020
Merged

Add ES package support #181

merged 8 commits into from
Jul 16, 2020

Conversation

roborourke
Copy link
Contributor

Related to user dictionary support humanmade/altis-enhanced-search#76

This allows local server to interact with the package functionality in the search module.

I couldn't find a better solution unfortunately due to the limitations of not being to write any files to the PHP container, even if it's a volume. I had to write files to S3, then rely on the S3 sync to host service and mount that directory on to the Elasticsearch container.

The docker-compose.yml updates to the S3 sync and its restart policy should help keep this as robust as it can be in the current form.

Overrides the stored package IDs locally.

Changes the S3 sync to overwrite to enable updates from S3 when package files are updated.

Mounts the `content/uploads/search` directory into the ES config directory so that files can be referenced in a consistent way with how they are referenced on AWS
The Minio watch command can sometimes fail if it has been running too long.
@roborourke roborourke requested review from joehoyle and rmccue July 10, 2020 13:45
@roborourke roborourke merged commit 016af65 into master Jul 16, 2020
@roborourke roborourke deleted the es-packages branch July 16, 2020 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants