OpenCTI could be deployed using the docker-compose command.
$ mkdir /path/to/your/app && cd /path/to/your/app
$ git clone https://github.com/Crypt-0n/OpenCTI.git
$ cd OpenCTI
Before running the docker-compose
command, don't forget to change the admin token (this token must be a valid UUID) and the password in the file .env
.
As OpenCTI has a dependency to ElasticSearch and Grakn, you have to set the vm.max_map_count
before running the containers, as mentioned in the ElasticSearch documentation.
$ sysctl -w vm.max_map_count=1048575
To make this parameter persistent, please update your file /etc/sysctl.conf
and add the line:
$ vm.max_map_count=1048575
Execute (root user) :
docker-compose -f 1.yml up -d
Waiting 1 minute and execute (root user) :
docker-compose -f 3.yml up -d
Waiting 1 minute and execute (root user) :
docker-compose -f 3.yml up -d
docker-compose -f 1.yml down
docker-compose -f 2.yml down
docker-compose -f 3.yml down
URL : http://localhost:8080