Skip to content

paulbrodner/alfresco-community-deployment

Repository files navigation

About Build Status

Starting my approach of provisioning Alfresco Community in Travis CI using docker-compose

This solution will give you the posibility to provision:

You will have the possibility to choose between any Alfresco Community distribution zip files - following the start.sh helper script.

#f03c15 ! Prerequisites

Starting Alfresco Community

a) clone project

$ git clone https://github.com/paulbrodner/alfresco-community-deployment.git

In root folder we have docker-compose.yml file that will start Alfresco Community Edition with the distribution zip that you will provide - see bellow

b) create .env file

Create a new .env file in root folder based on .env.example

These variables will be used by docker-compose.yml further on.

c) run start.sh

In root folder you will find start.sh - a helper script that will:

  • download for you the Alfresco Community Edition to tomcat/distribution
  • start the docker-compose for you
$ ./start.sh

 _____                _     _
 |  __ \              (_)   (_)
 | |__) | __ _____   ___ ___ _  ___  _ __
 |  ___/ '__/ _ \ \ / / / __| |/ _ \| '_ \
 | |   | | | (_) \ V /| \__ \ | (_) | | | |
 |_|   |_|  \___/ \_/ |_|___/_|\___/|_| |_| by paul.brodner@gmail.com
   ------------------------------------------

1) Download Distributions  
2) Start
3) Quit
Choose your option (1-3):

choose first "1" to download the distro

run again the script and choose "2" to start the entire solution.

d) login to Alfresco

  • access http://localhost:8080/alfresco for Alfresco Repository
  • access http://localhost:8080/share for Alfresco with Share UI
  • access http://localhost:8080/api-explorer/ for Alfresco Rest API Explorer

#f03c15 ! Hint

  • at any time you can download another Alfresco Community Edition and place it under tomcat/distribution folder

  • make sure you update the .env file with COMMUNITY_DISTRIBUTION=distribution/<your-alfresco-community-distribution-201707.zip>

  • or just export COMMUNITY_DISTRIBUTION=distribution/<your-alfresco-community-distribution-201707.zip in bash file before docker-compose up --build