Starting my approach of provisioning Alfresco Community in Travis CI using docker-compose
This solution will give you the posibility to provision:
- one tomcat container based on tomcat:8.5.20-jre8-alpine
- with Alfresco Community Repository (see what version I am using)
- and Alfresco Community Share UI on top
- Alfresco Rest-API-Explorer
TBD - SOLR search
You will have the possibility to choose between any Alfresco Community distribution zip files - following the start.sh helper script.
- docker
- docker-compose
- access to one Alfresco Community distribution ZIPs Release
- Unix based operating system
$ 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
Create a new .env
file in root folder based on .env.example
These variables will be used by docker-compose.yml further on.
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.
- 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
-
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 beforedocker-compose up --build