Skip to content

Commit

Permalink
OPSEXP-2733 Add search enterprise content image Dockerfile (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmacius authored Jul 22, 2024
1 parent a16156e commit e8c096c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
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`

## content

```yaml

live-indexing-content:
image: alfresco-elasticsearch-live-indexing-content:YOUR-TAG
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

0 comments on commit e8c096c

Please sign in to comment.