Configuration
Learn how to configure OpAMP Commander.
Basic Configuration
OpAMP Commander can be configured through a YAML file. The default configuration file is located at configs/config.yaml.
Server Configuration
server:
http:
address: ":8080"
grpc:
address: ":9090"
OpAMP Configuration
opamp:
server:
endpoint: "ws://localhost:4320/v1/opamp"
Database Configuration
database:
mongodb:
uri: "mongodb://localhost:27017"
database: "opampcommander"
Environment Variables
Configuration values can also be provided via environment variables:
SERVER_HTTP_ADDRESS: HTTP server addressSERVER_GRPC_ADDRESS: gRPC server addressMONGODB_URI: MongoDB connection URIMONGODB_DATABASE: MongoDB database name
Advanced Configuration
Logging
logging:
level: "info"
format: "json"
Authentication
auth:
enabled: true
jwt:
secret: "your-secret-key"
Feedback
Was this page helpful?