Giter Site home page Giter Site logo

alfresco-ce-61-sharding-mtls's Introduction

Alfresco CE 6.1 with Search Services including Sharding and MTLS

Deployment template based in official Docker Composition using SOLR Sharding with two nodes routing the content by DB_ID.

DBID (DB_ID): This method is available in Alfresco Search Services 1.0 and later versions and is the default sharding option in Solr 6. Nodes are evenly distributed over the shards at random based on the murmur hash of the DBID. The access control information is duplicated in each shard. The distribution of nodes over each shard is very even and shards grow at the same rate.

This configuration provides two SOLR Shards, identified as "0" and "1".

Source Images

Project structure

.
├── .env
├── alfresco
│   └── Dockerfile
├── config
│   ├── nginx.conf
│   └── nginx.htpasswd
├── docker-compose.yml
├── keystores
│   ├── alfresco
│   │   ├── keystore
│   │   ├── keystore-passwords.properties
│   │   ├── ssl-keystore-passwords.properties
│   │   ├── ssl-truststore-passwords.properties
│   │   ├── ssl.keystore
│   │   └── ssl.truststore
│   ├── client
│   │   └── browser.p12
│   └── solr
│       ├── ssl-keystore-passwords.properties
│       ├── ssl-truststore-passwords.properties
│       ├── ssl.repo.client.keystore
│       └── ssl.repo.client.truststore
├── search
│   └── Dockerfile
└── share
    └── Dockerfile
  • .env includes Docker environment variables to set Docker Image release numbers
  • config folder includes configuration for HTTP Proxy based in NGINX
  • docker-compose.yml is a Docker Compose template to use ACS Community with SOLR Sharding
  • search folder includes a customised Dockerfile to configure SOLR Docker Image with Sharding
  • share folder includes a customised Share Web App
  • keystores folder includes truststores and keystores for MTLS

How to use this composition

Start Docker

Start docker and check the ports are correctly bound.

$ docker-compose up -d
$ docker ps --format '{{.Names}}\t{{.Image}}\t{{.Ports}}'
sharding-mtls_proxy_1           nginx:stable-alpine                         80/tcp, 0.0.0.0:8080->8080/tcp
sharding-mtls_share_1           alfresco-ce-61-sharding-mtls_share          8000/tcp, 8080/tcp
sharding-mtls_solr6secondary_1  alfresco-ce-61-sharding-mtls_solr6secondary 0.0.0.0:8084->8983/tcp
sharding-mtls_solr6_1           alfresco-ce-61-sharding-mtls_solr6          0.0.0.0:8083->8983/tcp
sharding-mtls_alfresco_1        alfresco-ce-61-sharding-mtls_alfresco       8080/tcp, 0.0.0.0:8443->8443/tcp
sharding-mtls_postgres_1        postgres:10.1                               0.0.0.0:5432->5432/tcp
sharding-mtls_content-app_1     alfresco/alfresco-content-app:master-latest 80/tcp, 8080/tcp

Access

Use the following username/password combination to login.

  • User: admin
  • Password: admin

Alfresco and related web applications can be accessed from the below URIs when the servers have started.

http://localhost:8080/alfresco    - Alfresco Repository
https://localhost:8443/alfresco   - Alfresco Repository
https://localhost:8083/solr       - Alfresco Search Services (Shard 0)
https://localhost:8084/solr       - Alfresco Search Services (Shard 1)
http://localhost:8080/share       - Alfresco Share

alfresco-ce-61-sharding-mtls's People

Contributors

aborroy avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

sa-jackmax

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.