Self hosted
PentestPad self hosted solution is based on containerized images that can be easily deployed over Docker or any other similar technology.
1. Pull the pentestpad-docker repository from Github
Section titled “1. Pull the pentestpad-docker repository from Github”First, we need to pull the base configuration for deployment of the PentestPad instance.
git pull https://github.com/PentestPad/pentestpad-docker2. Authenticate to the Docker Repository
Section titled “2. Authenticate to the Docker Repository”Authentication is done using the credentials provided by the PentestPad team for your tenant.
docker login repository.pentestpad.com3. Edit configuration
Section titled “3. Edit configuration”Inside the pentestpad-docker directory make a copy of .env.example into .env and edit configuration variables:
# Database configurationDB_PASSWORD=secret
# LicenseLICENSE_KEY=
# Application URLAPP_URL=https://localhostAPP_HOSTNAME=localhost
# TEMP Admin user configuration, please delete from .env file after first loginADMIN_NAME=AdministratorADMIN_EMAIL=admin@localhostADMIN_PASSWORD=secret
# Mail configuration (mailgun, smtp)MAIL_MAILER=smtp
# Mailgun configuration (optional, required if MAIL_MAILER=mailgun)MAILGUN_DOMAIN=mg.domain.comMAILGUN_SECRET="secret"
# SMTP configuration (optional, required if MAIL_MAILER=smtp)MAIL_HOST=smtp.mailtrap.ioMAIL_PORT=2525MAIL_USERNAME=usernameMAIL_PASSWORD=passwordMAIL_ENCRYPTION=nullMAIL_FROM_ADDRESS=support@pentestpad.com4. Start the Docker container
Section titled “4. Start the Docker container”It might take a few minutes to build the environment before the application becomes available at https://localhost:443
docker compose upUpdating
Section titled “Updating”To update your self-hosted PentestPad instance to the latest version:
1. Stop the running containers
Section titled “1. Stop the running containers”docker compose down2. Pull the latest images
Section titled “2. Pull the latest images”docker pull repository.pentestpad.com/pentestpad/app:latestdocker pull repository.pentestpad.com/pentestpad/template-builder:latest3. Start the containers again
Section titled “3. Start the containers again”docker compose up