This guide walks you through deploying OpenBAS from a fresh Ubuntu 24.04 server to first login using Docker.
- Ubuntu 24.04 LTS (fresh install)
- User with
sudo
privileges - Internet access
sudo apt update && sudo apt upgrade -y
sudo apt install -y docker.io docker-compose git
sudo usermod -aG docker $USER
newgrp docker
git clone https://github.com/your-org/openbas-docker.git
cd openbas-docker
Use the interactive script to generate your .env
file:
chmod +x openbas_deploy.sh
./openbas_deploy.sh
This script prompts for all required environment variables and saves them to openbas.env
.
docker compose --env-file openbas.env up -d --build
Once all containers are healthy:
- URL:
http://<your-server-ip>:8080
- Login:
- Email: the one you set in the script
- Password: the one you set in the script
- Set up SMTP correctly for email delivery
- Configure injectors and test scenarios
- Backup
openbas.env
securely
For help or contributions, see: GitHub Repository