mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
upgrade docker images (#724)
This commit is contained in:
+96
-86
@@ -1,95 +1,105 @@
|
|||||||
version: "3"
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
alfresco:
|
alfresco:
|
||||||
image: alfresco/alfresco-content-repository-community:6.0.7-ga
|
image: alfresco/alfresco-content-repository-community:6.1.0-ea
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
environment:
|
environment:
|
||||||
JAVA_OPTS : "
|
JAVA_OPTS: '
|
||||||
-Ddb.driver=org.postgresql.Driver
|
-Ddb.driver=org.postgresql.Driver
|
||||||
-Ddb.username=alfresco
|
-Ddb.username=alfresco
|
||||||
-Ddb.password=alfresco
|
-Ddb.password=alfresco
|
||||||
-Ddb.url=jdbc:postgresql://postgres:5432/alfresco
|
-Ddb.url=jdbc:postgresql://postgres:5432/alfresco
|
||||||
-Dsolr.host=solr6
|
-Dsolr.host=solr6
|
||||||
-Dsolr.port=8983
|
-Dsolr.port=8983
|
||||||
-Dsolr.secureComms=none
|
-Dsolr.secureComms=none
|
||||||
-Dsolr.base.url=/solr
|
-Dsolr.base.url=/solr
|
||||||
-Dindex.subsystem.name=solr6
|
-Dindex.subsystem.name=solr6
|
||||||
-Dshare.host=localhost
|
-Dshare.host=localhost
|
||||||
-Ddeployment.method=DOCKER_COMPOSE
|
-Ddeployment.method=DOCKER_COMPOSE
|
||||||
-Dcsrf.filter.enabled=false
|
-Dcsrf.filter.enabled=false
|
||||||
"
|
'
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080 #Browser port
|
- 8080:8080 #Browser port
|
||||||
|
|
||||||
share:
|
share:
|
||||||
image: alfresco/alfresco-share:6.0.b
|
image: alfresco/alfresco-share:6.0.c
|
||||||
depends_on:
|
depends_on:
|
||||||
- alfresco
|
- alfresco
|
||||||
environment:
|
environment:
|
||||||
- REPO_HOST=alfresco
|
- REPO_HOST=alfresco
|
||||||
- REPO_PORT=8080
|
- REPO_PORT=8080
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
ports:
|
ports:
|
||||||
- 8083:8080
|
- 8083:8080
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:10.1
|
image: postgres:10.1
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=alfresco
|
- POSTGRES_PASSWORD=alfresco
|
||||||
- POSTGRES_USER=alfresco
|
- POSTGRES_USER=alfresco
|
||||||
- POSTGRES_DB=alfresco
|
- POSTGRES_DB=alfresco
|
||||||
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
solr6:
|
solr6:
|
||||||
image: alfresco/alfresco-search-services:1.1.1
|
image: alfresco/alfresco-search-services:1.2.0
|
||||||
depends_on:
|
depends_on:
|
||||||
- alfresco
|
- alfresco
|
||||||
environment:
|
environment:
|
||||||
#Solr needs to know how to register itself with Alfresco
|
#Solr needs to know how to register itself with Alfresco
|
||||||
- SOLR_ALFRESCO_HOST=alfresco
|
- SOLR_ALFRESCO_HOST=alfresco
|
||||||
- SOLR_ALFRESCO_PORT=8080
|
- SOLR_ALFRESCO_PORT=8080
|
||||||
#Alfresco needs to know how to call solr
|
#Alfresco needs to know how to call solr
|
||||||
- SOLR_SOLR_HOST=solr6
|
- SOLR_SOLR_HOST=solr6
|
||||||
- SOLR_SOLR_PORT=8983
|
- SOLR_SOLR_PORT=8983
|
||||||
#Create the default alfresco and archive cores
|
#Create the default alfresco and archive cores
|
||||||
- SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
|
- SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
ports:
|
ports:
|
||||||
- 8983:8983 #Browser port
|
- 8983:8983 #Browser port
|
||||||
|
|
||||||
content-app:
|
activemq:
|
||||||
image: alfresco/alfresco-content-app:latest
|
image: alfresco/alfresco-activemq:5.15.6
|
||||||
build: .
|
networks:
|
||||||
depends_on:
|
- internal
|
||||||
- alfresco
|
ports:
|
||||||
networks:
|
- 8161:8161 # Web Console
|
||||||
- internal
|
- 5672:5672 # AMQP
|
||||||
ports:
|
- 61616:61616 # OpenWire
|
||||||
- 4001:80
|
- 61613:61613 # STOMP
|
||||||
# volumes:
|
|
||||||
# - ./app.config.json:/usr/share/nginx/html/app.config.json
|
|
||||||
# - ./nginx.conf:/etc/nginx/conf.d/default.conf
|
|
||||||
|
|
||||||
proxy:
|
content-app:
|
||||||
image: nginx:stable-alpine
|
image: alfresco/alfresco-content-app:latest
|
||||||
depends_on:
|
build: .
|
||||||
- content-app
|
depends_on:
|
||||||
volumes:
|
- alfresco
|
||||||
- ./docker-compose/nginx.conf:/etc/nginx/conf.d/default.conf
|
networks:
|
||||||
networks:
|
- internal
|
||||||
- internal
|
ports:
|
||||||
ports:
|
- 4001:80
|
||||||
- 4000:80
|
# volumes:
|
||||||
|
# - ./app.config.json:/usr/share/nginx/html/app.config.json
|
||||||
|
# - ./nginx.conf:/etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
|
proxy:
|
||||||
|
image: nginx:stable-alpine
|
||||||
|
depends_on:
|
||||||
|
- content-app
|
||||||
|
volumes:
|
||||||
|
- ./docker-compose/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
ports:
|
||||||
|
- 4000:80
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
? internal
|
||||||
|
|||||||
Reference in New Issue
Block a user