SEARCH-9: Tweeking docker-compose

This commit is contained in:
Gethin James
2016-06-14 17:21:11 +02:00
parent ab202d1f3d
commit ca186374f6
+8 -5
View File
@@ -1,9 +1,9 @@
version: '2'
services:
repo:
image: dockerreg.alfresco.com/platform-only
image: dockerreg.alfresco.com/platform-only:latest
environment:
JAVA_OPTS : "-Ddb.url=jdbc:postgresql://database/alfresco -Dsolr.secureComms=none"
JAVA_OPTS : "-Ddb.url=jdbc:postgresql://database/alfresco -Dsolr.secureComms=none -Dsolr.useDynamicShardRegistration=true"
depends_on:
- database
ports:
@@ -17,8 +17,8 @@ services:
SOLR_ALFRESCO_HOST: repo
SOLR_ALFRESCO_PORT: 8080
#Alfresco (admin console) needs to know how to call solr
SOLR_PROXY_HOST: solr6
SOLR_PROXY_PORT: 8983
SOLR_PROXY_HOST: localhost
SOLR_PROXY_PORT: 8083
ports:
- "8083:8983"
- "1044:1044"
@@ -27,4 +27,7 @@ services:
environment:
POSTGRES_USER: alfresco
POSTGRES_PASSWORD: alfresco
POSTGRES_DB: alfresco
POSTGRES_DB: alfresco
#In the Index Server Shard Management Admin console the index server is: localhost:8083/solr