mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
65 lines
2.2 KiB
YAML
65 lines
2.2 KiB
YAML
version: "3"
|
|
|
|
# For remote debug we need the CATALINA_OPTS and to expose port 8000.
|
|
|
|
services:
|
|
alfresco:
|
|
# acs repo community image with ags repo community amp applied
|
|
image: alfresco/alfresco-governance-repository-community:latest
|
|
environment:
|
|
CATALINA_OPTS : "
|
|
-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
|
|
"
|
|
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
|
|
-Dalfresco.restApi.basicAuthScheme=true
|
|
-Dimap.server.enabled=true
|
|
-Dftp.enabled=true
|
|
-Dftp.dataPortFrom=30000
|
|
-Dftp.dataPortTo=30099
|
|
-Dcifs.enabled=true
|
|
-Dcsrf.filter.enabled=false
|
|
-Dalfresco.host=localhost
|
|
-Dalfresco.port.ssl=80
|
|
-Dalfresco.protocol=http
|
|
-Dalfresco.port=8080
|
|
"
|
|
ports:
|
|
- 8080:8080
|
|
- 8000:8000
|
|
- 445:445
|
|
- 143:143
|
|
- "21:21"
|
|
- "30000-30099:30000-30099"
|
|
|
|
postgres:
|
|
image: library/postgres:${POSTGRES_TAG}
|
|
environment:
|
|
- POSTGRES_PASSWORD=alfresco
|
|
- POSTGRES_USER=alfresco
|
|
- POSTGRES_DB=alfresco
|
|
ports:
|
|
- 5432:5432
|
|
|
|
solr6:
|
|
image: alfresco/alfresco-search-services:${SOLR6_TAG}
|
|
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
|