60 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			60 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Notify WebService sample configuration
 | |
| 
 | |
| storage:
 | |
|   # Use "mongo" for production deployments; set to "memory" only for tests/dev harnesses.
 | |
|   driver: mongo
 | |
|   connectionString: "mongodb://localhost:27017"
 | |
|   database: "stellaops_notify"
 | |
|   commandTimeoutSeconds: 30
 | |
| 
 | |
| authority:
 | |
|   enabled: true
 | |
|   issuer: "https://authority.stella-ops.local"
 | |
|   metadataAddress: "https://authority.stella-ops.local/.well-known/openid-configuration"
 | |
|   requireHttpsMetadata: true
 | |
|   allowAnonymousFallback: false
 | |
|   backchannelTimeoutSeconds: 30
 | |
|   tokenClockSkewSeconds: 60
 | |
|   audiences:
 | |
|     - notify
 | |
|   readScope: notify.read
 | |
|   adminScope: notify.admin
 | |
| 
 | |
| api:
 | |
|   basePath: "/api/v1/notify"
 | |
|   internalBasePath: "/internal/notify"
 | |
|   tenantHeader: "X-StellaOps-Tenant"
 | |
|   rateLimits:
 | |
|     deliveryHistory:
 | |
|       enabled: true
 | |
|       tokenLimit: 60
 | |
|       tokensPerPeriod: 30
 | |
|       replenishmentPeriodSeconds: 60
 | |
|       queueLimit: 20
 | |
|     testSend:
 | |
|       enabled: true
 | |
|       tokenLimit: 5
 | |
|       tokensPerPeriod: 5
 | |
|       replenishmentPeriodSeconds: 60
 | |
|       queueLimit: 2
 | |
| 
 | |
| plugins:
 | |
|   baseDirectory: "../"
 | |
|   directory: "plugins/notify"
 | |
|   searchPatterns:
 | |
|     - "StellaOps.Notify.Connectors.*.dll"
 | |
|   orderedPlugins:
 | |
|     - StellaOps.Notify.Connectors.Slack
 | |
|     - StellaOps.Notify.Connectors.Teams
 | |
|     - StellaOps.Notify.Connectors.Email
 | |
|     - StellaOps.Notify.Connectors.Webhook
 | |
| 
 | |
| telemetry:
 | |
|   enableRequestLogging: true
 | |
|   minimumLogLevel: Information
 | |
| 
 | |
| # When running in development without Authority, set the following instead:
 | |
| # authority:
 | |
| #   enabled: false
 | |
| #   developmentSigningKey: "change-me-32-bytes-minimum-signing-key"
 |