/alfresco-docker-template

Docker Compose template for testing and development Alfresco environments

Primary LanguageShellApache 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 Document Management solutions development lifecycle, like integration tests or reproducing issues and so on.

Stack

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.

Containers

  • alfresco 5.2.g
  • share 5.2.f
  • nginx 1.12.1 (reverse proxy on port 80/443)
  • 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 -d
$ 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

http://localhost/share
http://localhost/alfresco
http://localhost:8983/solr