GithubHelp home page GithubHelp logo

kabugyei / alfresco-docker-201707-ga Goto Github PK

View Code? Open in Web Editor NEW

This project forked from angelborroy/alfresco-docker-201707-ga

0.0 2.0 0.0 2.91 MB

Sample Alfresco Docker Composition for 201707-GA

Dockerfile 0.58% CSS 98.99% HTML 0.06% Shell 0.37%

alfresco-docker-201707-ga's Introduction

Docker Composition for Alfresco CE 201707-GA

Sample Docker Composition for integration testing with Alfresco 5.2

Docker & Docker Compose software is required to use this project.

Starting

Download or clone this repository.

From root directory, start Docker Compose.

$ docker-compose up

Once all the containers have been started, a message similar to following one will appear.

alfresco_1     | May 15, 2018 11:03:22 AM org.apache.catalina.startup.Catalina start
alfresco_1     | INFO: Server startup in 70314 ms

Persistence data folders (alf_data, mariadb_data & solr_data) will be created in data folder.

$ tree -L 2
.
├── adf
│   ├── Dockerfile
│   └── assets
├── alfresco
│   ├── Dockerfile
│   └── assets
├── data
│   ├── alf_data
│   ├── mariadb_data
│   └── solr_data
├── docker-compose.yml
├── httpd
│   ├── Dockerfile
│   └── assets
└── share
    ├── Dockerfile
    └── assets

Persistent data folders path can be changed by modifying local paths set in volumes directives at docker-compose.yml to global paths

Available services

Once the composition is up, you can check available services:

Operations

Following operations are available to customize your Docker Composition.

Deploying modules

Copy your artifacts (AMP or JAR) to deployment folders:

  • Alfresco Repository

    • alfresco/assets/amps
    • alfresco/assets/jars
  • Share Web App

    • share/assets/amps_share
    • share/assets/jars

Configuration

Modify configuration files:

  • Alfresco Repository

    • alfresco/assets/alfresco/alfresco-global.properties
  • Share Web App

    • share/assets/share/share-config-custom.xml

ADF

You must add a configuration parameter --base-href in your local package.json in order to produce an ADF application able to attend /adf context path

"build": "npm run server-versions && ng build --prod --base-href /adf/",

Copy your generated application replacing the content of adf/assets/app folder.

Applying operations

Docker Compose shall be stopped before applying changes.

$ docker-compose down

In order to apply any operation, you need to rebuild Docker image before starting the composition again.

$ docker-compose build alfresco
$ docker-compose build share
$ docker-compose build adf

Once the image has been rebuilt, Docker Compose can be started again.

$ docker-compose up

Reseting initial data

In order to remove working data, you can remove all persistent folders.

$ rm -rf data

After this operation all the changes in your data will be lost!

alfresco-docker-201707-ga's People

Contributors

angelborroy-ks avatar

Watchers

 avatar  avatar

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.