mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
96 lines
2.6 KiB
YAML
96 lines
2.6 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
alfresco:
|
|
image: alfresco/alfresco-content-repository-community:${ALFRESCO_TAG}
|
|
depends_on:
|
|
- postgres
|
|
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
|
|
"
|
|
networks:
|
|
- internal
|
|
ports:
|
|
- 8080:8080 #Browser port
|
|
- 8000:8000 #Debug port
|
|
|
|
share:
|
|
image: alfresco/alfresco-share:${SHARE_TAG}
|
|
depends_on:
|
|
- alfresco
|
|
environment:
|
|
- REPO_HOST=alfresco
|
|
- REPO_PORT=8080
|
|
networks:
|
|
- internal
|
|
ports:
|
|
- 8081:8080
|
|
|
|
postgres:
|
|
image: postgres:${POSTGRES_TAG}
|
|
environment:
|
|
- POSTGRES_PASSWORD=alfresco
|
|
- POSTGRES_USER=alfresco
|
|
- POSTGRES_DB=alfresco
|
|
networks:
|
|
- internal
|
|
ports:
|
|
- 5432:5432
|
|
|
|
solr6:
|
|
image: alfresco/alfresco-search-services:${SOLR6_TAG}
|
|
depends_on:
|
|
- alfresco
|
|
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
|
|
networks:
|
|
- internal
|
|
ports:
|
|
- 8983:8983 #Browser port
|
|
|
|
content-app:
|
|
image: alfresco/alfresco-content-app:${ACA_TAG}
|
|
build: .
|
|
depends_on:
|
|
- alfresco
|
|
networks:
|
|
- internal
|
|
ports:
|
|
- 3001:80
|
|
# volumes:
|
|
# - ./app.config.json:/usr/share/nginx/html/app.config.json
|
|
# - ./nginx.conf:/etc/nginx/conf.d/default.conf
|
|
|
|
proxy:
|
|
image: nginx
|
|
depends_on:
|
|
- content-app
|
|
volumes:
|
|
- ./docker-compose/nginx.conf:/etc/nginx/conf.d/default.conf
|
|
networks:
|
|
- internal
|
|
ports:
|
|
- 3000:80
|
|
|
|
networks:
|
|
internal:
|