# Minimal single-server Britive Bridge config.
# Turns on native + browser SSH. See bridge.reference.yaml for every option.
server:
  listen: "443"          # the web app + browser sessions
  log_level: "info"
  tls:
    enabled: true        # serve HTTPS with an auto-generated self-signed certificate
  datastore:             # PostgreSQL connection (the postgres service in the compose file)
    host: "postgres"
    port: 5432
    user: "bridge"
    password: "bridge"
    name: "bridge"
    sslmode: "disable"
  recording:
    output_dir: "/data/recordings"
  auth:
    types: ["britive"]   # log in with your Britive tenant
    britive:
      tenant: "your-tenant"   # REQUIRED — e.g. "acme" or the full https://acme.britive-app.com

ssh:
  native:
    enabled: true
    listen: "22"
  browser:
    enabled: true
  idle_timeout: "30m"
