cwrc / CWRC-GitWriter-Docker

Docker Compose orgistrated CWRC-Writer with included GitHub connector, NERVE, and Validation service
GNU General Public License v3.0
0 stars 0 forks source link

CWRC-GitWriter Docker Compose

Overview

Provide a container orchestrated means to deploy the [GitWriter] along with the connector to [GitHub] and validation tool and named entity recognizer [NERVE].

The goal of this repo is to provides an easy-to-deploy instance of CWRC-Writer, including components, while only modifying a limited number of config files.

Requirements

Configuration

The basics, clone this repository, modify the config files, and run docker-compose to pull the DockerHub images and deploy GitWriter. There are two approaches available

By default, docker-compose.yml and traefik.yml setup ports 80 and 443

Steps for Traefik

1.Clone repository: https://github.com/cwrc/CWRC-GitWriter-Docker.git

2.Make copies of the following files

Remove the .example extension.

3.Setup Let's Encrypt certificate generation

4.Setup host rules

5.GitHub OAuth App creation (in not already available

Instructions

6.Update config for GitHub OAuth connectivity

Details https://github.com/cwrc/CWRC-GitServer#config

On cwrc-gitserver/config/config.json:

7.Setup CWRC-GitWriter config

CWRC-GitWriter comes with basic configurations. Relevant information for a server setup is the following:

On cwrc-gitwriter/config/config.json:

Also, provide a username to access GeoNames' service:

See more about the config file here: https://github.com/cwrc/CWRC-GitWriter/blob/master/README.md

Deployment

Dashboard

To access Trafeik Dashboard, navigate to the URL you set up on traefik-api.yml (e.g., https://YOUR.DOMAIN/dashboard/).

Use the user and password you set up.