Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions overview/self-host-license.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,18 @@ Every server that starts with the key takes a slot until the workspace's slots a

### Name servers

Dagu Console shows each server by the hostname it reports. In Docker and Kubernetes the hostname is often a random container ID, so give servers a name:
Dagu Console shows each server by the name it reports: `license.server_name`, else the hostname. In Docker and Kubernetes the hostname is often a random container ID.

To rename a server, change its name on the server's **Settings** tab in Dagu Console, or select **Rename** next to **Server** on the **Plan & features** page in Dagu. Both set the same name, and Dagu Console and Dagu show it from then on, with the reported name beside it. Clear the name to show the reported name again.

To set the name a server reports, for example for every replica of a deployment:

```yaml
license:
server_name: prod-eu-1
```

or `DAGU_LICENSE_SERVER_NAME=prod-eu-1`. The name is sent at every check-in, so a rename shows up in the console within an hour.
or `DAGU_LICENSE_SERVER_NAME=prod-eu-1`. The server sends it at every check-in, so a change shows up in the console within an hour. A name set in Dagu Console or Dagu is shown in its place.

### Keep the server's identity

Expand Down
2 changes: 1 addition & 1 deletion server-admin/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ Legacy YAML keys `scheduler.heartbeat_interval`, `scheduler.heartbeat_sync_inter
### License
- `DAGU_LICENSE_KEY` - Server key or license key from Dagu Console (`license.key`)
- `DAGU_LICENSE_CLOUD_URL` - License validation service URL (`license.cloud_url`)
- `DAGU_LICENSE_SERVER_NAME` - Name that identifies this server in Dagu Console (`license.server_name`; default: the hostname)
- `DAGU_LICENSE_SERVER_NAME` - Name this server reports to Dagu Console (`license.server_name`; default: the hostname). A name set in Dagu Console or Dagu is shown in its place

### Dagu Console Monitoring (Beta)
- `DAGU_CLOUD_REPORT` - What the server reports to Dagu Console: `off`, `health`, or `runs` (`cloud.report`; default: empty, which reports nothing until an administrator chooses in the web UI). A set value, `off` included, fixes the level and the web UI shows it read-only. See [Monitoring (Beta)](/overview/console-monitoring).
Expand Down
Loading