Update license to Apache License 2.0
Alfresco Content Services Community Packaging
This project is producing packaging for Alfresco Content Services Repository.
The SNAPSHOT version of the artifacts is never published.
Contributing guide
Please use this guide to make a contribution to the project.
This project contains the code for packaging the entire Alfresco Content Services product Community edition.
General
Build:
mvn clean install
in the root of the project will build everything.
Docker-compose & Kubernetes
Build and start Alfresco Content Services Community using docker-compose or Kubernetes, containing:
- Alfresco Repository for community, with:
1.1. Alfresco Share Services amp
1.2. Alfresco AOS amp
1.3. Alfresco vti-bin war - that helps with AOS integration
1.4. Alfresco Google Docs Repo amp - Alfresco Share, with:
2.1 Alfresco Google Docks Share amp - A Postgres DB
- Alfresco Solr6
Docker Compose Instructions:
Prerequisite:
- Docker installed locally
Steps
- Go to docker-compose folder
- Run
docker-compose up
- Check that everything starts up with the browser: http://localhost:8082/alfresco and http://localhost:8080/share and http://localhost:8083/solr/
Notes:
- Make sure the local machine has the ports (5432, 8080, 8082, 8083) set up in the docker-compose.yml file free.
- The images used in the docker-compose.yml are images that are build in the 'docker-alfresco' and 'docker-share' subfolders of the project - see the relevant sections below
- If you don't have access to the docker-internal.alfresco.com and quay.io images, or if you want custom data in your docker images, you can use the 'docker-alfresco' and 'docker-share' folders to customize and build your customized docker images that are used in the docker-compose project. Just make sure you use proper tags when you create the images and update the docker-compose.yml with these proper tags that you created.
Kubernetes Instructions:
Prerequisite:
- Deploy the infrastructure chart as specified in https://github.com/Alfresco/alfresco-infrastructure-deployment
- A kubernetes secret (quay-registry-secret) with the above mentioned credentials created in your cluster.
Note! You do not need to pull this repo in order to deploy Alfresco Content Services in Kubernetes
Steps
- Run
helm repo add alfresco-incubator http://kubernetes-charts.alfresco.com/incubator
to add the Alfresco Kubernetes repository to helm. - Deploy Alfresco Content Services:
#On MINIKUBE
helm install alfresco-incubator/alfresco-content-services \
--set dnsaddress="http://$ELBADDRESS:$INFRAPORT" \
--namespace=$DESIREDNAMESPACE
#On AWS
helm install alfresco-incubator/alfresco-content-services \
--set dnsaddress="http://$ELBADDRESS" \
--namespace=$DESIREDNAMESPACE
- After deploying the helm chart you will get information for obtaining the URL for repository, share and solr.
Notes:
- The images used in the alfresco-content-services/values.yml are images that are built in the 'docker-alfresco' and 'docker-share' subfolders of the project - see the relevant sections below.
- If you don't have access to the docker-internal.alfresco.com and quay.io images, or if you want custom data in your docker images, you can use the 'docker-alfresco' and 'docker-share' folders to customize and build your customized docker images that are used in the docker-compose project. Just make sure you build them in the minikube docker environment and update the alfresco-content-services/values.yml with the tags that you created.
- You can also change those values when deploying the helm chart by running
helm install alfresco-incubator/alfresco-content-services --set repository.image.tag="yourTag" --set share.image.tag="yourTag"
. - Hint: Run
eval $(minikube docker-env)
to switch to your minikube docker environment on osx.
Docker images
These images are used to build the images used by the docker-compose.yml project to bring up an ACS Community, similar to what the installer did/does.
Docker Alfresco
- Go to docker-alfreco folder
- Run mvn clean install if you have not done so
- Build the docker image:
docker build . --tag my-acs-repo:6.0.test
- Check that the image has been created locally with your desired name/tag:
docker images
Docker Share
- Go to docker-share folder
- Run mvn clean install if you have not done so
- Build the docker image:
docker build . --tag my-share:5.2.test
- Check that the image has been created locally with your desired name/tag:
docker images
Distribution zip
In this folder the distribution zip is build. It contains all the war files, libraries, certificates and settings files you need to deploy alfresco on the supported application servers.