Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

PSKnowhow, it is essential to have three mandatory containers: i) UI, ii) CustomAPI, and iii) MongoDB. Additionally, there are other optional containers, such as jira-processor, devops-processor (including Jenkins, GitHub, GitLab, Bamboo, Bitbucket, Zephyr, Sonar, and TeamCity collectors), azure-board-processor (for Azure Board), and azure-pipeline-repo (for Azure Pipeline and Azure Repo).
Based on specific requirements, you can bring up these respective containers as needed.

Create folder structure

To create the "PSKnowhow" directory in Linux, you can use the mkdir command in the terminal. Here's the command:

mkdir /location/PSKnowhow

Replace "/location/PSKnowhow" with your preferred location. This command will create the "PSKnowhow" folder in the specified location. Make sure to choose a directory path that you have appropriate permissions to create folders in and have available space and is permanent storage.

Download PSKnowHOW docker-compose.yaml

Edit the docker compose file with appropriate values

Update Credentials of DB and other Environmental variable as specified here

Installation on Windows

 Click to view details...
  • Open terminal/command prompt in PSKnowhow folder .

  • Pull the images by (For Docker for Desktop)

    docker-compose pull

(For Podman)

podman-compose pull
  • Run the container by (For Docker for Desktop)

  • docker-compose up -d

(For Podman)

podman-compose up -d
  • Create readWrite Privileged user which adds extra layer of data protection from accidentally deleting collections and use this in application . follow this steps to create

docker exec -it mongodb /bin/bash
mongo admin -u ${MONGO_INITDB_ROOT_USERNAME} -p ${MONGO_INITDB_ROOT_PASSWORD}
use kpidashboard
db.createUser({user: '<MONGODB_APPLICATION_USER>', pwd: '<MONGODB_APPLICATION_PASS>', roles:[{role:'readWrite', db:'kpidashboard'}]})
exit

  • No labels