<< PREVIOUS NEXT >>

 

 

INSTALLATION


DOWNLOAD THE REQUIRED FILES

 

The two files required for deploying the services using docker. Please download them to your server onto an independent directory and name it accordingly (example: vspdefense-onprem-services or anything your prefer)

  1. docker-compose.yaml

  2. .env

DOCKER COMPOSE

BRING UP THE SERVICES AS A DAEMON PROCESS

 

docker compose up -d

 

 

 

This will bring up the environment. It will take few minutes to initialize the environment. Give it 5-10 minutes. One can watch the status of the environment by running the following command.

 

To bring up only containers specific to this docker compose

 

docker compose ps 

 

 

 

To bring up all containers

 

docker ps 

 

 

image2

The output of the above command should look a list of services . Wait till the status of all the containers turns to healthy status in the STATUS column.

ADD A HOSTS FILE ENTRY

 

Map the localhost IP to the domain name at which you would like to access the running CloudDefense stack by modifying the host properties file, as shown in the below screenshot. In this case, the localhost / 127.0.0.1 is being mapped cdefense.local domain. See below image for example.

image3

In case of a cloud provider like GCP / AWS / Azure where you're spinning up VMs on the fly you need to map the public IP of the VM in the hosts file.

 

<< PREVIOUS NEXT >>