2020-09-23 12:15:21 -07:00
|
|
|
---
|
|
|
|
|
layout: docs
|
|
|
|
|
page_title: Controller - Configuration
|
2020-09-29 09:40:49 -07:00
|
|
|
sidebar_title: controller
|
2020-09-23 12:15:21 -07:00
|
|
|
description: |-
|
|
|
|
|
The controller stanza configures controller-specifc parameters.
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# `controller` Stanza
|
|
|
|
|
|
|
|
|
|
The `controller` stanza configures Boundary controller-specific parameters.
|
|
|
|
|
|
|
|
|
|
```hcl
|
|
|
|
|
controller {
|
|
|
|
|
name = "example-controller"
|
|
|
|
|
description = "An example controller"
|
2020-09-29 15:31:51 -07:00
|
|
|
database {
|
|
|
|
|
url = "postgresql://<username>:<password>@10.0.0.1:5432/<database_name>"
|
|
|
|
|
}
|
2020-09-23 12:15:21 -07:00
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
- `name` - Specifies a unique name of this controller within the Boundary controller cluster.
|
|
|
|
|
|
|
|
|
|
- `description` - Specifies a friendly description of this controller.
|
2020-09-29 15:31:51 -07:00
|
|
|
|
|
|
|
|
- `database` - Configuration block with one parameter, `url`, for connecting to Postgres.
|