Compare commits

..

7 Commits

View File

@@ -8,22 +8,28 @@ services:
image: alfresco/alfresco-content-repository:latest image: alfresco/alfresco-content-repository:latest
environment: environment:
JAVA_OPTS: " JAVA_OPTS: "
-Ddb.driver=com.mysql.jdbc.Driver -Ddb.driver=org.postgresql.Driver
-Ddb.url=jdbc:mysql://mysql-acs:3306/alfresco?useUnicode=yes\\&characterEncoding=UTF-8\\&useSSL=false -Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco
-Dalfresco.host=${PROXY_HOST} -Dalfresco.host=${PROXY_HOST}
-Dalfresco.port=${PROXY_PORT} -Dalfresco.port=${PROXY_PORT}
-Dalfresco.protocol=${PROXY_PROTOCOL} -Dalfresco.protocol=${PROXY_PROTOCOL}
-Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\" -Dmessaging.broker.url=\"failover:(nio://activemq:61616)?timeout=3000&jms.useCompression=true\"
" "
depends_on: depends_on:
- mysql-acs - postgres-acs
- activemq - activemq
volumes:
- acsbin-volume:/usr/local/tomcat/alf_data:rw
mysql-acs: postgres-acs:
image: mysql:latest image: postgres:latest
volumes:
- acsdb-volume:/var/lib/postgresql/data:rw
activemq: activemq:
image: alfresco/alfresco-activemq:latest image: alfresco/alfresco-activemq:latest
volumes:
- activemq-volume:/opt/activemq/data:rw
proxy: proxy:
build: ./nginx-ingress build: ./nginx-ingress
@@ -32,3 +38,11 @@ services:
- 8080:8080 - 8080:8080
depends_on: depends_on:
- platform - platform
volumes:
acsbin-volume:
driver: local
acsdb-volume:
driver: local
activemq-volume:
driver: local