Skip to main content
This guide covers advanced configuration scenarios for self-hosted Bilanc, including disabling integrations and customizing data transformations.

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 from tenant_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 your docker-compose.yml:

Step 3: Restart Containers

Apply the changes:
Ensure the custom files exist in your repository’s dbt_project/ directory before mounting.

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 your docker-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

  1. Create your custom SQL model in your local dbt_project/models/marts/ directory
  2. 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 to tenant_config.yaml:
Each tenant requires separate API tokens for their integrations.

External PostgreSQL

For production deployments, we recommend using an external managed PostgreSQL instance.

Configuration

Update your .env file with the external database details:

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

Update FRONTEND_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.yaml
  • target_config.yaml
  • docker-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

Getting Help

For advanced configuration assistance, contact Bilanc support at support@bilanc.co.