mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
48 lines
1.5 KiB
YAML
48 lines
1.5 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
alfresco:
|
|
image: quay.io/alfresco/alfresco-full-content-services-community:${ALFRESCO_TAG}
|
|
environment:
|
|
JAVA_OPTS : "
|
|
-Ddb.driver=org.postgresql.Driver
|
|
-Ddb.username=alfresco
|
|
-Ddb.password=alfresco
|
|
-Ddb.url=jdbc:postgresql://postgres:5432/alfresco
|
|
-Dsolr.host=solr6
|
|
-Dsolr.port=8983
|
|
-Dsolr.secureComms=none
|
|
-Dsolr.base.url=/solr
|
|
-Dindex.subsystem.name=solr6
|
|
"
|
|
ports:
|
|
- 8082:8080 #Browser port
|
|
|
|
share:
|
|
image: quay.io/alfresco/alfresco-full-share:${SHARE_TAG}
|
|
ports:
|
|
- 8080:8080
|
|
|
|
postgres:
|
|
image: docker.io/library/postgres:9.4.12
|
|
environment:
|
|
- POSTGRES_PASSWORD=alfresco
|
|
- POSTGRES_USER=alfresco
|
|
- POSTGRES_DB=alfresco
|
|
ports:
|
|
- 5432:5432
|
|
|
|
solr6:
|
|
image: quay.io/alfresco/search-services:1.2.0-SNAPSHOT
|
|
environment:
|
|
#Solr needs to know how to register itself with Alfresco
|
|
- SOLR_ALFRESCO_HOST=alfresco
|
|
- SOLR_ALFRESCO_PORT=8080
|
|
#Alfresco needs to know how to call solr
|
|
- SOLR_SOLR_HOST=solr6
|
|
- SOLR_SOLR_PORT=8983
|
|
#Create the default alfresco and archive cores
|
|
- SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
|
|
ports:
|
|
- 8083:8983 #Browser port
|