Deploy Alfresco with Docker and MySQL

cancel
Showing results for 
Search instead for 
Did you mean: 
devitbremer
Active Member

Deploy Alfresco with Docker and MySQL

Hi, I'm working on Alfresco, and I'm building a lab with docker and using the docker_compose file that is available in github (https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml ) . However I need to change the database connection to MySql.

I created a new image based on what is explicit in docker_compose just by adding the MySql driver in the tomcat libs folder. The problem is that when I change the connection string from postgres to mysql the container does not go up because -Dsolr.host = solr6 - the command was not found.

Has anyone done this, or can you point me to any documentation about it?

Thank you!

3 Replies

Re: Deploy Alfresco with Docker and MySQL

Try this one:

Using MariaDB instead of PostgreSQL as database · keensoft/docker-alfresco Wiki · GitHub 

Software Engineer in Alfresco Search Team.
devitbremer
Active Member

Re: Deploy Alfresco with Docker and MySQL

Thank you Angel Borroy your reply was really helpful! However I get this error no matter what database I choose (MariaDB or Postgres).  Any ideas why? 

devitbremer
Active Member

Re: Deploy Alfresco with Docker and MySQL

After some attempts i changed the mariadb container for a mysql one and it worked! I just wonder why... In any case thanks for the help!