Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1017 Bytes

BUILD.md

File metadata and controls

29 lines (25 loc) · 1017 Bytes

For the building purpose of a Package or Docker Image it is recommended to first clone the repo:

git clone <repo_url>

Docker Image Build

To build the webapp docker image you can simply run the build_container.sh also found on the root folder of this repo:

./build_container.sh

Installation requirements

If you're not using this aplication from a .deb/.rpm package installation please follow the next steps to ensure that you have a porper environment set up

Generate selfsigned certificate for Nginx (https proxy)

mkdir -p nginx/certificates
openssl req -batch -x509 -nodes -days 365 -newkey rsa:2048 -keyout nginx/certificates/nginx-certificate-key.key -out nginx/certificates/nginx-certificate.crt

Create NITA Docker Network

docker network create -d bridge nita-network

Deploy NITA using Docker Compose

To launch this container you can use the supplied docker_compose.yaml file, simply run:

docker-compose -p nitawebapp up -d