switch from postgresql to mysql
This commit is contained in:
parent
f46dacad9d
commit
b01b78f842
@ -9,10 +9,10 @@ services:
|
||||
mem_limit: 1700m
|
||||
environment:
|
||||
JAVA_OPTS: "
|
||||
-Ddb.driver=org.postgresql.Driver
|
||||
-Ddb.driver=com.mysql.jdbc.Driver
|
||||
-Ddb.username=alfresco
|
||||
-Ddb.password=alfresco
|
||||
-Ddb.url=jdbc:postgresql://postgres-acs:5432/alfresco
|
||||
-Ddb.url=jdbc:postgresql://mysql-acs:3306/alfresco
|
||||
-Dindex.subsystem.name=solr6
|
||||
-Dsolr.host=search
|
||||
-Dsolr.port=8983
|
||||
@ -40,10 +40,11 @@ services:
|
||||
-Djodconverter.enabled=false
|
||||
"
|
||||
depends_on:
|
||||
- postgres-acs
|
||||
- mysql-acs
|
||||
- activemq
|
||||
volumes:
|
||||
- acsbin-volume:/usr/local/tomcat/alf_data:rw
|
||||
- /usr/share/java/mysql.jar:/usr/local/tomcat/lib/mysql.jar:ro
|
||||
|
||||
transform-core-aio:
|
||||
image: alfresco/alfresco-transform-core-aio:2.3.6
|
||||
@ -58,16 +59,16 @@ services:
|
||||
-Dalfresco.port=8080
|
||||
"
|
||||
|
||||
postgres-acs:
|
||||
image: postgres:11.7
|
||||
mysql-acs:
|
||||
image: mysql:5.7
|
||||
mem_limit: 512m
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=alfresco
|
||||
- POSTGRES_USER=alfresco
|
||||
- POSTGRES_DB=alfresco
|
||||
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||
- MYSQL_RANDOM_ROOT_PASSWORD=true
|
||||
- MYSQL_PASSWORD=alfresco
|
||||
- MYSQL_USER=alfresco
|
||||
- MYSQL_DATABASE=alfresco
|
||||
volumes:
|
||||
- acsdb-volume:/var/lib/postgresql/data:rw
|
||||
- acsdb-volume:/var/lib/mysql:rw
|
||||
|
||||
search:
|
||||
image: alfresco/alfresco-search-services:2.0.1
|
||||
@ -106,3 +107,4 @@ volumes:
|
||||
driver: local
|
||||
solrindex-volume:
|
||||
driver: local
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user