Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

vasyugan/uwazi-docker

 
 

Repository files navigation

Uwazi with Docker

This work-in-progress repository allows you to run the Uwazi using Docker containers. It can be a good alternative if you are testing the software and have no proficiency with the entire stack of applications involved.

The Uwazi software is available in the github.com/huridocs/uwazi repository.

What is Uwazi?

In Swahili, Uwazi means “openness.” HURIDOCS designed Uwazi to make human rights information more open and accessible to the defenders who need it. Uwazi is a web-based platform that goes beyond just storing and tagging documents. Users work directly with the text inside these otherwise uneditable documents to add new layers of information. Uwazi is a web-based, open-source solution for building and sharing document collections.

See also History of Uwazi.

Usage

The uwazi-docker requires docker-compose installed. See requirements. If you are a developer, can also check some advanced information on development-instructions.md and a draft of production-instructions.md.

Install

Run these commands on your terminal only the first time:

git clone https://github.com/fititnt/uwazi-docker.git
cd uwazi-docker
docker-compose run -e IS_FIRST_RUN=true --rm uwazi # Install/Re-install from empty data

Run

docker-compose up -d uwazi # Run uwazi on background (automatic restart on reboot unless stopped)

Open your browser at http://localhost:3000/. Initial user: admin, password: admin.

Basic docker commands

# Stop all containers from this uwazi-docker and do not restart again until you explicit ask for it
docker-compose stop

# Using "-d" param to run uwazi and its dependencies on background
docker-compose up -d uwazi

# No "-d" param, start uwazi, MongoDB & Elastic Search and see what is happening inside the containers
docker-compose up uwazi

# See what containers are running now
docker ps

# See all docker volumes
docker volume ls

# See docker volumes that stores data from uwazi-docker (hint: these ones to backup & restore)
docker volume ls | grep 'mongodb_data1\|uploaded_documents'

# Want some GUI to see what is happening on MongoDB? Use nosqlclient
docker-compose up -d mongo-gui-mongoclient

# Want some GUI to see what is happening on Elastic Search? Try Dejavu
docker-compose up -d elasticsearch-gui-dejavu

Extra features

Want some GUI to see what is happening on MongoDB? Use nosqlclient

docker-compose up -d mongo-gui-mongoclient

By default, uses http://localhost:51000/.

Want some GUI to see what is happening on Elastic Search? Try Dejavu

docker-compose up -d elasticsearch-gui-dejavu

By default, uses http://localhost:52000/.

Uninstall

See how to uninstall.

License

Public Domain

To the extent possible under law, Emerson Rocha has waived all copyright and related or neighboring rights to this work to Public Domain.

Optionally, you can choose to use the MIT License instead of Public Domain unlicense.

Packages

No packages published

Languages

  • Shell 60.5%
  • Dockerfile 39.5%