You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pages/developing-providers/agent.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The following options are available in the `agent` section
26
26
27
27
```yaml
28
28
agent: # You can also use options within this section (see injectGitCredentials as an example)
29
-
path: ${DEVPOD}
29
+
path: $\{DEVPOD\}
30
30
driver: docker # Optional, default: docker
31
31
inactivityTimeout: 10m
32
32
containerInactivityTimeout: 10m
@@ -45,7 +45,7 @@ agent: # You can also use options within this section (see injectGitCredentials
45
45
46
46
Breaking down the options:
47
47
48
-
- **path**: where to place the agent on the remote machine. Use ${DEVPOD} here if you want to use the local machine instead.
48
+
- **path**: where to place the agent on the remote machine. Use $\{DEVPOD\} here if you want to use the local machine instead.
49
49
- **driver**: which driver to use to run container, [check the Drivers section for more information](./driver.mdx)
50
50
- **inactivityTimeout**: after how much time to shut down the machine. Use for machine providers
51
51
- **containerInactivityTimeout**: after how much time to shut down the container. Use for non-machine providers
@@ -85,4 +85,4 @@ Official providers that use this method of automatically stopping an inactive ma
85
85
- [devpod-provider-azure](https://github.com/loft-sh/devpod-provider-azure): Just uses `shutdown -t now` as `agent.exec.shutdown` to shutdown an unused machine.
86
86
- [devpod-provider-aws](https://github.com/loft-sh/devpod-provider-aws): Uses the local `aws` cli tool to generate a temporary token, which is then saved in a DevPod option. This token is then used within `agent.exec.shutdown` to shutdown the machine on the agent side with an AWS api call.
87
87
- [devpod-provider-gcloud](https://github.com/loft-sh/devpod-provider-gcloud): Uses the local `gcloud` cli tool to generate a temporary token, which is then saved in a DevPod option. This token is then used within `agent.exec.shutdown` to shutdown the machine on the agent side with an Google Cloud api call.
88
-
- [devpod-provider-digitalocean](https://github.com/loft-sh/devpod-provider-digitalocean): Deletes the whole machine on inactivity as stopped machines are still billed by DigitalOcean. The local digital ocean token is reused on the agent side to make an API call to delete the whole machine and preserve the state in an extra volume.
88
+
- [devpod-provider-digitalocean](https://github.com/loft-sh/devpod-provider-digitalocean): Deletes the whole machine on inactivity as stopped machines are still billed by DigitalOcean. The local digital ocean token is reused on the agent side to make an API call to delete the whole machine and preserve the state in an extra volume.
0 commit comments