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

OPSEXP-2733 Add search enterprise content image Dockerfile #3

Merged
merged 9 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ target "repository" {

target "search_liveindexing" {
matrix = {
liveindexing = ["metadata", "path"]
liveindexing = ["metadata", "path", "content"]
}
name = "search_liveindexing-${liveindexing}"
args = {
Expand Down
6 changes: 6 additions & 0 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@ services:
environment:
SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200
SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616
live-indexing-content:
image: alfresco-elasticsearch-live-indexing-content:latest
environment:
SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200
SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616
ALFRESCO_SHAREDFILESTORE_BASEURL: http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file
volumes:
shared-file-store-volume:
driver_opts:
Expand Down
21 changes: 19 additions & 2 deletions search/enterprise/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Sets of variables configurable with your docker image
```yaml

live-indexing-metadata:
image: alfresco-enterprise-search-metadata:YOUR-TAG
image: alfresco-elasticsearch-live-indexing-metadata:YOUR-TAG
environment:
SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200
SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616
Expand All @@ -22,7 +22,7 @@ live-indexing-metadata:
```yaml

live-indexing-path:
image: alfresco-enterprise-search-path:YOUR-TAG
image: alfresco-elasticsearch-live-indexing-path:YOUR-TAG
environment:
SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200
SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616
Expand All @@ -31,3 +31,20 @@ live-indexing-path:

- `SPRING_ELASTICSEARCH_REST_URIS` - Elasticsearch server, by default `http://elasticsearch:9200`
- `SPRING_ACTIVEMQ_BROKERURL` - Alfresco ActiveMQ, by default `nio://activemq:61616`

## path
pmacius marked this conversation as resolved.
Show resolved Hide resolved

```yaml

live-indexing-content:
image: alfresco-elasticsearch-live-indexing:YOUR-TAG
pmacius marked this conversation as resolved.
Show resolved Hide resolved
environment:
SPRING_ELASTICSEARCH_REST_URIS: http://elasticsearch:9200
SPRING_ACTIVEMQ_BROKERURL: nio://activemq:61616
ALFRESCO_SHAREDFILESTORE_BASEURL: http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file

```

- `SPRING_ELASTICSEARCH_REST_URIS` - Elasticsearch server, by default `http://elasticsearch:9200`
- `SPRING_ACTIVEMQ_BROKERURL` - Alfresco ActiveMQ, by default `nio://activemq:61616`
- `ALFRESCO_SHAREDFILESTORE_BASEURL` - Alfresco Shared FileStore endpoint, by default `http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file/`
7 changes: 7 additions & 0 deletions search/enterprise/common/artifacts.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
"path": "search/enterprise/common",
"classifier": "-app.jar",
"group": "org.alfresco"
},
{
"name": "alfresco-elasticsearch-live-indexing-content",
"version": "4.0.1",
"path": "search/enterprise/common",
"classifier": "-app.jar",
"group": "org.alfresco"
}
]
}
Expand Down