This repository contains a Helm chart for deploying DatabunkerPro, a privacy vault for personal data.
The official DatabunkerPro Helm chart is available through GitHub Pages. To install it:
# Add the Helm repository
helm repo add databunkerpro https://securitybunker.github.io/databunkerpro-setup
# Update your local Helm repository cache
helm repo update
# Install DatabunkerPro
helm install databunkerpro databunkerpro/databunkerpro
To install DatabunkerPro with an internal Percona MySQL 8 database:
helm install databunkerpro databunkerpro/databunkerpro \
--set database.type=mysql \
--set database.internal.mysql.enabled=true
To install DatabunkerPro with an internal PostgreSQL database:
helm install databunkerpro databunkerpro/databunkerpro \
--set database.type=postgresql \
--set database.internal.postgresql.enabled=true
To install DatabunkerPro with a remote database (e.g., AWS RDS):
helm install databunkerpro databunkerpro/databunkerpro \
--set database.external=true \
--set database.type=postgresql \
--set database.externalConfig.host=your-rds-host \
--set database.externalConfig.user=your-user \
--set database.externalConfig.password=your-password
helm install databunkerpro databunkerpro/databunkerpro \
--set database.external=true \
--set database.type=mysql \
--set database.externalConfig.host=your-rds-host \
--set database.externalConfig.user=your-user \
--set database.externalConfig.password=your-password
To expose DatabunkerPro via Ingress, set your custom host parameter:
--set ingress.host=databunker.your-domain.com
Make sure to:
- Replace
databunker.your-domain.com
with your actual domain - Have an Ingress controller (like NGINX Ingress Controller) installed
- Have cert-manager installed if you want automatic SSL/TLS certificate management
For more complex configurations, you can create your own values file based on the default configuration:
# Download the default values file
helm show values databunkerpro/databunkerpro > my-values.yaml
# Edit the values file to match your needs
# Then install or upgrade using your custom values
helm install databunkerpro databunkerpro/databunkerpro -f my-values.yaml
This approach is recommended when you need to:
- Configure multiple parameters
- Maintain consistent configuration across deployments
- Version control your configuration
DatabunkerPro can also be deployed using Docker Compose. We provide two options: Percona MySQL 8 and PostgreSQL.
- Navigate to the MySQL Docker Compose directory:
cd docker-compose-mysql
- Generate the required environment files:
./generate-env-files.sh
- Start the services:
docker compose up -d
- Navigate to the PostgreSQL Docker Compose directory:
cd docker-compose-pgsql
- Generate the required environment files:
./generate-env-files.sh
- Start the services:
docker compose up -d
The generate-env-files.sh
script will:
- Create necessary directories
- Generate secure random passwords
- Create environment files for MySQL/PostgreSQL and DatabunkerPro
- Set up proper permissions
You can customize the deployment by modifying the values in your Helm installation command or by creating a custom values file.
DatabunkerPro is a privacy vault for personal data that helps organizations comply with privacy regulations like GDPR, CCPA, and more.