added sync service config

This commit is contained in:
2020-12-17 17:41:47 -05:00
parent 46bbeeef30
commit 0b507962fa
3 changed files with 23 additions and 1 deletions
+15 -1
View File
@@ -10,6 +10,7 @@ services:
JAVA_OPTS: "
-Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco
-Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\"
-Ddsync.service.uris=http://localhost:8080/sync
"
depends_on:
- postgres-acs
@@ -21,10 +22,23 @@ services:
activemq:
image: alfresco/alfresco-activemq:latest
sync:
image: quay.io/alfresco/service-sync:latest
environment:
JAVA_OPTS : "
-Dsql.db.url=jdbc:postgresql://postgres-acs:5432/alfresco
-Dmessaging.broker.host=activemq
-Drepo.hostname=platform
"
depends_on:
- postgres-acs
- activemq
proxy:
build: ./nginx-ingress
image: local/nginx-ingress:acs
image: local/nginx-ingress:acs-sync
ports:
- 8080:8080
depends_on:
- platform
- sync