Dockerized Latest GA release of Alfresco Community 5.2.x based on Centos 6 official image.
50K+
201707, slim, latest
201704
201702
201701
201612
201605
Alfresco is a leading Enterprise Content Management system which provides document management, collaboration, web content services and records and knowledge management.
This image aims to help you run the latest version of the Alfresco Community Edition in a Docker container.
--link (supported aliases mysql, postgres)manual manageradd-onmd-preview add-onRun the alfresco image:
docker run --name='alfresco' -it --rm -p 8080:8080 fjudith/alfresco
NOTE: Please allow a few minutes for the application to start, especially if populating the database for the first time. If you want to make sure that everything went fine, watch the log:
docker exec -it alfresco /bin/bash
tail -f /alfresco/tomcat/logs/catalina.out
Go to http://localhost:8080/share or point to the IP of your docker host. On
Mac or Windows, replace localhost with the IP address of your Docker host which you can get using
docker-machine ip default
The default username and password are:
If you use this image in production, you'll probably want to store files and database separately in an external location. Use the CONTENT_STORE environment variable to set the content store to a bind-mounted volume or a network share.
If DB_KIND is postgresql and the DB_HOST environment variable is not set (or localhost),
then the internal PostgreSQL server will be started and used.
By setting DB_KIND to mysql, you can use an external MySQL server, e.g. one running in a Docker container:
docker run --name 'mysql' -d -p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=secret \
-e MYSQL_DATABASE=alfresco \
-e MYSQL_USER=alfresco \
-e MYSQL_PASSWORD=secret \
mysql \
--character-set-server=utf8 \
--collation-server=utf8_general_ci \
--max_connections=1024
Configure the Alfresco container to use this MySQL server as database and a bind-mounted volume as content store:
docker run --name='alfresco' -d -p 8080:8080 \
-v /mnt/alfresco_content_store:/mnt/content_store \
-e CONTENT_STORE=/mnt/content_store \
-e DB_KIND=mysql \
-e DB_HOST=mysql \
-e DB_PASSWORD=secret \
--link mysql:mysql \
fjudith/alfresco
Below is the complete list of currently available parameters that can be set using environment variables.
To get email links working or when reverse-proxy address configured
localhosthttp8080localhosthttp8080If SSL offloading is enable on the reverse proxy, "Mandatory" variable set needs to changed accordingly.
postgresqlalfrescoadminalfrescolocalhost?useSSL=false, otherwise emptytruelocalhostWORKGROUPfalsefalseldapuid=%s,cn=users,cn=accounts,dc=example,dc=comldap://ldap.example.com:389adminuid=admin,cn=users,cn=accounts,dc=example,dc=compasswordcn=groups,cn=accounts,dc=example,dc=comcn=users,cn=accounts,dc=example,dc=com${dir.root} (/alfresco/alf_data)localhost25smtpUTF-8false[email protected]falsefalsefalsefalse30000falsefalseAlfresco - Service - SMTP client onlineAlfresco SMTP client ready and workingfalse21truelocalhostWORKGROUPfalseThe source code is available at https://github.com/fjudith/alfresco.
Make sure your Docker host has more than 2 GB RAM available. Docker Hub uses 2 GB for automated builds which is not enough, the Alfresco installer will complain and fail. The Docker Toolbox VM also uses 2 GB by default, use VirtualBox to change it to at least 4GB.
git clone https://github.com/fjudith/alfresco.git
cd docker-alfresco
docker build --tag="$(echo $USERNAME | awk '{print tolower($0)}')/alfresco" .
Content type
Image
Digest
Size
1.8 GB
Last updated
almost 5 years ago
docker pull fjudith/alfresco