Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.07 KB

BUILD.md

File metadata and controls

33 lines (27 loc) · 1.07 KB

Build

⚠️ These instructions related to NITA versions 22.8 and older.

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