A free enterprise content management system

Name Last Update
bin Loading commit data...
data Loading commit data...
docs Loading commit data...
var/config Loading commit data...
.dockerignore Loading commit data...
Dockerfile Loading commit data...
Makefile Loading commit data... Loading commit data...

Alfresco Connector

This is a repack of maoo/alfresco-allinone-community. With the ability to easily change config values without hours of setting up a build environment and the build process.



  • A running MySQL server


  • A running MySQL server, as well


This application is able to be deployed with the help of docker. The next sections will help you building a shipable image of the app.

Quick Start

# Run the container
$ docker run -d \
    -v "`pwd`/data/contentstore:/var/lib/tomcat7/alf_data/contentstore" \
    -v "`pwd`/data/solrhome/archive:/var/lib/tomcat7/alf_data/solrhome/archive" \
    -v "`pwd`/data/solrhome/workspace:/var/lib/tomcat7/alf_data/solrhome/workspace" \
    -e 'ALFRESCO_HOST=alfresco.e5.lan' \
    -e 'ALFRESCO_PORT=80' \
    -e '' \
    -e 'SHARE_PORT=80' \
    -e 'DB_HOST=' \
    -e 'DB_DBNAME=alfresco' \
    -e 'DB_USERNAME=alfresco' \
    -e 'DB_PASSWORD=alfresco' \
    -p 18080:80 \

Available Configuration Parameters

  • SERVER_ADMIN: Server administrator email address. Defaults to
  • ALFRESCO_HOST: Repository hostname. Defaults to localhost.
  • ALFRESCO_PORT: Repository port. Defaults to 8080.
  • SHARE_HOST: Share hostname. Defaults to localhost.
  • SHARE_PORT: Share port. Defaults to 8080.
  • DB_DRIVER: JDBC driver. Defaults to
  • DB_PREFIX: JDBC protocol prefix. Defaults to mysql.
  • DB_HOST: Database hostname. Defaults to db.lan.
  • DB_PORT: Database port. Defaults to 3306.
  • DB_DBNAME: Database name. Defaults to alfresco.
  • DB_USERNAME: Database username. Defaults to alfresco.
  • DB_PASSWORD: Database password. Defaults to alfresco.
  • MAIL_PROTOCOL: E-Mail server protocol. Defaults to smtp.
  • MAIL_HOST: E-Mail server hostname. Defaults to mail.lan.
  • MAIL_PORT: E-Mail server port. Defaults to 25.
  • MAIL_USERNAME: E-Mail server username.
  • MAIL_PASSWORD: E-Mail server password.
  • MAIL_ENCODING: E-Mail encoding. Defaults to UTF-8.
  • MAIL_FROM_DEFAULT: E-Mail from address. Defaults to
  • MAIL_SMTP_AUTH: Switch to enable SMTP auth. Defaults to false.
  • MAIL_SMTPS_STARTTLS_ENABLE: Switch to enable STARTTLS for SMTPS. Defaults to false.
  • MAIL_SMTPS_AUTH: Switch to enable SMTPS auth. Defaults to false.

Data Volumes

In order to kick off a docker container which does not loose runtime data you need to specify data volumes. These data volumes should be host bind mounts for this application, but if you like to store outputs on a docker container volume its fine, too. Anyways the following examples are host bind mounts.

Alfresco puts all uploaded content to /var/lib/tomcat7/alf_data/contentstore. This directory needs to be mounted. See the Quick Start section above.

Solr puts its search index files to /var/lib/tomcat7/alf_data/solrhome/archive and /var/lib/tomcat7/alf_data/solrhome/workspace. It is usefull to mount these directories, too. So Solr do not need to rebuild it's indexes after a container reboot.


# Build the container
$ make build-image

# Start the builded container (quickstart)
$ make start-image

# Stop the container
$ make stop-image

# Purge the build - so you could start over with
# another build
$ make clean-image

# See logs for the running container
$ make image-logs

# Start a bash session on the builded container for debugging.
# This command need **clean** or **stop** like the normal **start**.
$ make start-bash-image