This repository contains the source for building of MEditor application as a Docker image using source-to-image. The resulting image can be run using Docker.
To build a MEditor builder image from scratch, run:
$ git clone https://github.com/moravianlibrary/s2i-meditor.git
$ cd s2i-meditor
$ docker build -t meditor-builder .
To build MEditor from your own repo using standalone S2I and then run the resulting image with Docker execute:
$ s2i build --incremental=true --rm --ref=dotenv https://github.com/moravianlibrary/MEditor.git meditor-builder meditor
$ docker-compose up -d
Requirements It's necessary to add two fake hostnames to /etc/hosts
127.0.0.1 meditor keycloak
Accessing the application:
http://meditor/ (credentials meditor/meditor)