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 OpenCTIBefore 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=1048575To make this parameter persistent, please update your file /etc/sysctl.conf and add the line:
$ vm.max_map_count=1048575Execute (root user) :
docker-compose -f 1.yml up -dWaiting 1 minute and execute (root user) :
docker-compose -f 3.yml up -dWaiting 1 minute and execute (root user) :
docker-compose -f 3.yml up -ddocker-compose -f 1.yml down
docker-compose -f 2.yml down
docker-compose -f 3.yml downURL : http://localhost:8080