This guide covers advanced configuration scenarios for self-hosted Bilanc, including disabling integrations and customizing data transformations.Documentation Index
Fetch the complete documentation index at: https://bilanc.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Disabling Linear Integration
If your organization doesn’t use Linear, you can disable the integration to avoid unnecessary pipeline runs and errors.Step 1: Update Tenant Configuration
Remove the Linear configuration section fromtenant_config.yaml:
Step 2: Mount Custom dbt Scripts
To fully disable Linear, you need to mount custom dbt scripts that exclude Linear models. Add these volume mounts to both Dagster containers in yourdocker-compose.yml:
Step 3: Restart Containers
Apply the changes:Release Alternative Configuration
Bilanc supports an alternative release implementation for organizations with non-standard release workflows.When to Use
Use the alternative release configuration if:- Your release process doesn’t follow conventional patterns
- You need custom release detection logic
- Standard release metrics aren’t capturing your workflow
Step 1: Mount Alternative dbt Scripts
Add these volume mounts to both Dagster containers in yourdocker-compose.yml:
Step 2: Restart Containers
Apply the changes:Custom dbt Model Mounting
For advanced customization, you can mount custom dbt models to modify how data is transformed.Understanding the dbt Structure
Bilanc uses dbt for data transformation with this structure:Mounting Custom Models
- Create your custom SQL model in your local
dbt_project/models/marts/directory - Add volume mounts in
docker-compose.yml:
Custom models must be compatible with Bilanc’s schema. Contact support for guidance on model development.
Multiple Tenants
Bilanc supports multiple tenants in a single deployment, useful for:- Managed service providers
- Large organizations with separate business units
- Development/staging/production environments
Configuration
Add multiple tenant entries totenant_config.yaml:
External PostgreSQL
For production deployments, we recommend using an external managed PostgreSQL instance.Recommended Providers
| Provider | Service |
|---|---|
| AWS | RDS PostgreSQL |
| GCP | Cloud SQL |
| Azure | Azure Database for PostgreSQL |
| Other | Any PostgreSQL 14+ |
Configuration
Update your.env file with the external database details:
Recommended Specifications
| Metric | Minimum | Recommended |
|---|---|---|
| vCPUs | 2 | 4 |
| RAM | 8GB | 16GB |
| Storage | 100GB | 250GB |
| IOPS | 3000 | 6000 |
SSL/TLS Configuration
For production deployments, configure SSL/TLS for secure connections.Reverse Proxy Setup
Use a reverse proxy (nginx, Traefik, Caddy) in front of Bilanc services:Update Environment Variables
UpdateFRONTEND_URL to use HTTPS:
Backup and Recovery
Database Backups
For external PostgreSQL, use your provider’s backup features. For local PostgreSQL:Configuration Backups
Keep these files in version control:.env(with secrets in a secure vault)tenant_config.yamltarget_config.yamldocker-compose.yml(if customized)
Important Notes
When modifying Dagster containers:All file mounts must be applied to both Dagster containers (daemon and webserver)
Ensure proper file permissions are maintained during mounting
Restart containers after applying configuration changes
Verify mounted files are accessible at their target paths before proceeding

