Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Alfresco SDK 4.9 #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
version: '3.4'
services:
# Optional
# alfresco-javamelody-addon-share:
# image: ${docker.share.image}:${alfresco.share.version}
# environment:
# REPO_HOST: alfresco-javamelody-addon-acs
# REPO_PORT: 8080
# ports:
# - "${share.port}:8080"
alfresco-javamelody-addon-acs:
image: alfresco-content-services-alfresco-javamelody-addon:development
build:
dockerfile: ./Dockerfile
context: ../../../target
environment:
JAVA_TOOL_OPTIONS: "${keystore.settings}"
JAVA_OPTS: "
-Dsolr.secureComms=secret
-Dsolr.sharedSecret=secret
-Dmessaging.broker.url=\"failover:(nio://alfresco-javamelody-addon-activemq:61616)?timeout=3000&jms.useCompression=true\"
"
CATALINA_OPTS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:8888"
ports:
- "${acs.port}:8080"
- "${acs.debug.port}:8888"
volumes:
- alfresco-javamelody-addon-acs-volume:/usr/local/tomcat/alf_data
depends_on:
- alfresco-javamelody-addon-postgres
alfresco-javamelody-addon-postgres:
image: postgres:9.6
environment:
POSTGRES_DB: alfresco
POSTGRES_USER: alfresco
POSTGRES_PASSWORD: alfresco
command: postgres -c max_connections=300 -c log_min_messages=LOG
ports:
- "${postgres.port}:5432"
volumes:
- alfresco-javamelody-addon-db-volume:/var/lib/postgresql/data
alfresco-javamelody-addon-ass:
image: alfresco/alfresco-search-services:2.0.3
environment:
SOLR_ALFRESCO_HOST: alfresco-javamelody-addon-acs
SOLR_ALFRESCO_PORT: 8080
SOLR_SOLR_HOST: alfresco-javamelody-addon-ass
SOLR_SOLR_PORT: 8983
SOLR_CREATE_ALFRESCO_DEFAULTS: alfresco,archive
ALFRESCO_SECURE_COMMS: "secret"
JAVA_TOOL_OPTIONS: "-Dalfresco.secureComms.secret=secret"
ports:
- "8983:8983"
volumes:
- alfresco-javamelody-addon-ass-volume:/opt/alfresco-search-services/contentstore
- alfresco-javamelody-addon-ass-volume:/opt/alfresco-search-services/data
alfresco-javamelody-addon-activemq:
image: alfresco/alfresco-activemq:5.16.1
mem_limit: 1g
ports:
- 8161:8161 # Web Console
- 5672:5672 # AMQP
- 61616:61616 # OpenWire
- 61613:61613 # STOMP

volumes:
alfresco-javamelody-addon-acs-volume:
external: true
alfresco-javamelody-addon-db-volume:
external: true
alfresco-javamelody-addon-ass-volume:
external: true
Loading