Compare commits
27 Commits
acs-search
...
acs-search
Author | SHA1 | Date | |
---|---|---|---|
1619c075c0 | |||
25e26949d0 | |||
7ef9d4f186 | |||
2eab63c2a8 | |||
f7c664e7f4 | |||
4748d0e7b6 | |||
299d2fe04d | |||
8a7d6d2016 | |||
|
2c82f844b1 | ||
|
b805fbbd1a | ||
|
b7c883068a | ||
6a8b1e2628 | |||
932159b238 | |||
135739da10 | |||
720346e9d7 | |||
68e0652872 | |||
b81db4fc0f | |||
c377995a1d | |||
e223fd99a3 | |||
5beadf9f35 | |||
f94f3e82e8 | |||
cb5d306478 | |||
abaa41345a | |||
fad6fe1c2a | |||
2789af0bd7 | |||
91da0dedb6 | |||
8d3c4987f0 |
@@ -27,7 +27,6 @@ services:
|
|||||||
-Dsolr.host=search
|
-Dsolr.host=search
|
||||||
-Dsolr.secureComms=secret
|
-Dsolr.secureComms=secret
|
||||||
-Dsolr.sharedSecret=alfresco-secret
|
-Dsolr.sharedSecret=alfresco-secret
|
||||||
-Dsolr.useDynamicShardRegistration=true
|
|
||||||
-Dalfresco.host=${PROXY_HOST}
|
-Dalfresco.host=${PROXY_HOST}
|
||||||
-Dalfresco.port=${PROXY_PORT}
|
-Dalfresco.port=${PROXY_PORT}
|
||||||
-Dalfresco.protocol=${PROXY_PROTOCOL}
|
-Dalfresco.protocol=${PROXY_PROTOCOL}
|
||||||
@@ -45,6 +44,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- postgres-acs
|
- postgres-acs
|
||||||
- activemq
|
- activemq
|
||||||
|
volumes:
|
||||||
|
- acsbin-volume:/usr/local/tomcat/alf_data:rw
|
||||||
|
|
||||||
postgres-acs:
|
postgres-acs:
|
||||||
image: postgres:${POSTGRES_TAG}
|
image: postgres:${POSTGRES_TAG}
|
||||||
@@ -53,27 +54,23 @@ services:
|
|||||||
POSTGRES_USER: alfresco
|
POSTGRES_USER: alfresco
|
||||||
POSTGRES_DB: alfresco
|
POSTGRES_DB: alfresco
|
||||||
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||||
|
volumes:
|
||||||
|
- acsdb-volume:/var/lib/postgresql/data:rw
|
||||||
|
|
||||||
search:
|
search:
|
||||||
image: alfresco/alfresco-search-services:${ASIE_TAG}
|
image: alfresco/alfresco-search-services:${ASIE_TAG}
|
||||||
environment:
|
environment:
|
||||||
SOLR_ALFRESCO_HOST: platform
|
SOLR_ALFRESCO_HOST: platform
|
||||||
SOLR_SOLR_HOST: search
|
SOLR_SOLR_HOST: search
|
||||||
|
SOLR_CREATE_ALFRESCO_DEFAULTS: alfresco,archive
|
||||||
ALFRESCO_SECURE_COMMS: secret
|
ALFRESCO_SECURE_COMMS: secret
|
||||||
JAVA_TOOL_OPTIONS: "
|
JAVA_TOOL_OPTIONS: "
|
||||||
-Dalfresco.secureComms.secret=alfresco-secret
|
-Dalfresco.secureComms.secret=alfresco-secret
|
||||||
"
|
"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "curl -fsS http://localhost:8983/solr"
|
test: "curl -fsS http://localhost:8983/solr"
|
||||||
|
volumes:
|
||||||
search-shard-init:
|
- solrindex-volume:/opt/alfresco-search-services/data:rw
|
||||||
image: cfmanteiga/alpine-bash-curl-jq
|
|
||||||
command: [ "bash", "-c", "
|
|
||||||
curl -s http://search:8983/solr/admin/cores?action=newCore\\&core=alfresco\\&storeRef=workspace://SpacesStore\\&numShards=2\\&nodeInstance=1\\&numNodes=1\\&template=rerank\\&shardIds=0,1
|
|
||||||
"]
|
|
||||||
depends_on:
|
|
||||||
search:
|
|
||||||
condition: service_healthy
|
|
||||||
|
|
||||||
activemq:
|
activemq:
|
||||||
image: alfresco/alfresco-activemq:${AAMQ_TAG}
|
image: alfresco/alfresco-activemq:${AAMQ_TAG}
|
||||||
@@ -81,6 +78,8 @@ services:
|
|||||||
ACTIVEMQ_OPTS_MEMORY: -Xms64m -Xmx256m
|
ACTIVEMQ_OPTS_MEMORY: -Xms64m -Xmx256m
|
||||||
ACTIVEMQ_ADMIN_LOGIN: alfresco
|
ACTIVEMQ_ADMIN_LOGIN: alfresco
|
||||||
ACTIVEMQ_ADMIN_PASSWORD: alfresco
|
ACTIVEMQ_ADMIN_PASSWORD: alfresco
|
||||||
|
volumes:
|
||||||
|
- activemq-volume:/opt/activemq/data:rw
|
||||||
|
|
||||||
proxy:
|
proxy:
|
||||||
build: ./nginx-ingress
|
build: ./nginx-ingress
|
||||||
@@ -89,3 +88,13 @@ services:
|
|||||||
- 8080:8080
|
- 8080:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
- platform
|
- platform
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
acsbin-volume:
|
||||||
|
driver: local
|
||||||
|
acsdb-volume:
|
||||||
|
driver: local
|
||||||
|
activemq-volume:
|
||||||
|
driver: local
|
||||||
|
solrindex-volume:
|
||||||
|
driver: local
|
||||||
|
Reference in New Issue
Block a user