mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: adopt markdownlint and markdown-table-formatter for *.md (#15831)
Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com>
This commit is contained in:
co-authored by
Edward Angert
parent
08463c27d8
commit
94f5d52fdc
@@ -20,7 +20,7 @@ Edit the `Dockerfile` and run `coder templates push` to update workspaces.
|
||||
resource block. The `coder_app` resource is defined to access `code-server` through
|
||||
the dashboard UI over `localhost:13337`.
|
||||
|
||||
# Next steps
|
||||
## Next steps
|
||||
|
||||
Check out our [Docker](../../templates/docker/) template for a more fully featured Docker
|
||||
example.
|
||||
|
||||
@@ -20,7 +20,7 @@ It mainly acts as a wrapper for the excellent [sysbox runtime](https://github.co
|
||||
The following environment variables can be used to configure various aspects of the inner and outer container.
|
||||
|
||||
| env | usage | required |
|
||||
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
|
||||
|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|
|
||||
| `CODER_INNER_IMAGE` | The image to use for the inner container. | True |
|
||||
| `CODER_INNER_USERNAME` | The username to use for the inner container. | True |
|
||||
| `CODER_AGENT_TOKEN` | The [Coder Agent](https://coder.com/docs/about/architecture#agents) token to pass to the inner container. | True |
|
||||
|
||||
@@ -5,17 +5,17 @@ tags: [local, docker, workspace-tags]
|
||||
icon: /icon/docker.png
|
||||
---
|
||||
|
||||
# Overview
|
||||
## Overview
|
||||
|
||||
This Coder template presents use of [Workspace Tags](https://coder.com/docs/templates/workspace-tags) [Coder Parameters](https://coder.com/docs/templates/parameters).
|
||||
|
||||
# Use case
|
||||
## Use case
|
||||
|
||||
Template administrators can use static tags to control workspace provisioning, limiting it to specific provisioner groups. However, this restricts workspace users from choosing their preferred workspace nodes.
|
||||
|
||||
By using `coder_workspace_tags` and `coder_parameter`s, template administrators can allow dynamic tag selection, avoiding the need to push the same template multiple times with different tags.
|
||||
|
||||
# Notes
|
||||
## Notes
|
||||
|
||||
- You will need to have an [external provisioner](https://coder.com/docs/admin/provisioners#external-provisioners) with the correct tagset running in order to import this template.
|
||||
- When specifying values for the `coder_workspace_tags` data source, you are restricted to using a subset of Terraform's capabilities.
|
||||
@@ -27,7 +27,7 @@ See [Workspace Tags](https://coder.com/docs/templates/workspace-tags) for more i
|
||||
|
||||
Update the template and push it using the following command:
|
||||
|
||||
```
|
||||
```shell
|
||||
./scripts/coder-dev.sh templates push examples-workspace-tags \
|
||||
-d examples/workspace-tags \
|
||||
-y
|
||||
|
||||
Reference in New Issue
Block a user