/alfresco-docker-template

Docker Compose template for testing and development Alfresco environments

Primary LanguageDockerfileApache License 2.0Apache-2.0

alfresco-docker-template

TAGS

Description

This template can be used to deploy custom Alfresco Community installations starting your Dockerfiles with the following statement

FROM keensoft/alfresco-docker-template:201707-GA

We are using this templated "dockerized Alfresco" idea at the moment in several ways in our day to day Content Services solutions development lifecycle, development, integration tests or reproducing issues and so on.

Stack for 201804-EA

  • [Tomcat 7-jre8 alpine]

Stack previous to 201804-EA

Base images (centos7-openjdk8 and centos7-openjdk8-tomcat7) are located here

Templates in action

Following examples illustrate one way of using this Alfresco docker image template.

  • Alfresco Content Services 6.0.5-ea
  • Share 6.0.a
  • Postgres 10.1
  • Alfresco Search Services 1.1.1
  • Alfresco PDF Renderer 1.0
  • Alfresco Libreoffice 1.0
  • Alfresco Imagemagick 1.0

Containers

  • Alfresco 5.2.g
  • Share 5.2.f
  • Postgres 9.4
  • Libreoffice 5.1.2
  • Solr6 (alfresco-search-services-1.1.0)
  • Api-explorer 5.2.0

Containers

  • Alfresco 5.2.f & api-explorer 5.2.0
  • Share 5.2.e
  • Nginx 1.12.1 (reverse proxy on port 80/443)
  • Postgres 9.4
  • Libreoffice 5.1.2
  • Solr6 (alfresco-search-services-1.0.0)

Containers

  • Alfresco 5.2.f & api-explorer 5.2.0
  • Share 5.2.e
  • Httpd 2.4 (reverse proxy on port 80)
  • Postgres 9.4
  • Libreoffice 5.1.2
  • Solr6 (alfresco-search-services-1.0.0)
  • Swagger-editor

Containers

  • Alfresco 5.2.e, share 5.2.d & api-explorer 5.2.0
  • Httpd 2.4 (reverse proxy on port 80)
  • Postgres 9.4
  • Libreoffice 5.1.2
  • Solr6 (alfresco-search-services-1.0.b)

Containers

  • Alfresco 5.2.d, share 5.2.c & api-explorer 5.2.0
  • Httpd 2.4 (reverse proxy on port 80)
  • Postgres 9.4
  • Libreoffice 5.1.2
  • Solr6 (alfresco-search-services-1.0-EA)

Containers

  • Alfresco 5.1.g
  • Share 5.1.f
  • Solr4 5.1.g
  • Postgres 9.4
  • Httpd 2.4
  • Libreoffice
  • Cas 4.1
  • Openldap

In this particular example Share is configured to authenticate against a CAS Server using Ian Wrigth's Alfresco-CAS integration project which can be used to integrate Alfresco and CAS support for SSO and SLO

  • Alfresco 5.1.f
  • Nginx 1.12
  • Postgres 9.4
  • Share 5.1.f
  • Solr4 5.1.f

Containers

  • Alfresco & share 5.0.d
  • Solr4 5.0.d
  • Postgres 9.4
  • Libreoffice 5.1.2

Containers

  • Alfresco, share & solr4 4.2.c
  • Postgres 9.4
  • Libreoffice 5.1.2

How to use template examples

Start

$ docker-compose up

$ docker-compose ps

        Name                       Command               State                     Ports                    
------------------------------------------------------------------------------------------------------------
201707ga_alfresco_1      ./wait-for-postgres.sh db  ...   Up      8009/tcp, 8080/tcp, 0.0.0.0:9999->9999/tcp 
201707ga_db_1            docker-entrypoint.sh postgres    Up      5432/tcp                                   
201707ga_libreoffice_1   /opt/libreoffice/startoo.sh      Up      8997/tcp                                   
201707ga_nginx_1         nginx -g daemon off;             Up      0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp   
201707ga_share_1         catalina.sh run                  Up      8009/tcp, 0.0.0.0:8080->8080/tcp           
201707ga_solr6_1         ./run.sh run                     Up      0.0.0.0:8983->8983/tcp            

Access

User: admin Password: admin

Check ports on each template example with docker-compose ps. This is just a template to get you up and running quickly. Always check reference and make your adjustments as appropiate