Skip to content

Commit eeb2cf0

Browse files
authored
fix: add CODER_WORKSPACE_NAME to .env.template and update README instructions (#75)
- Introduced a new environment variable, CODER_WORKSPACE_NAME, in the .env.template to allow users to specify a custom workspace name. - Updated the README to include instructions for setting the CODER_WORKSPACE_NAME, enhancing clarity for users configuring their environment.
1 parent 2828893 commit eeb2cf0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.env.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ CODER_ADDITIONAL_CSP_POLICY=frame-ancestors *
3535
CODER_API_KEY=your_coder_api_key
3636
CODER_TEMPLATE_ID=your_template_id
3737
CODER_DEFAULT_ORGANIZATION=your_organization_id
38+
CODER_WORKSPACE_NAME=your_workspace_name

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ This simplified example lets you host pad on `localhost` but is not safe for rea
134134
```dotenv
135135
CODER_DEFAULT_ORGANIZATION=your_organization_id # Example: 70f6af06-ef3a-4b4c-a663-c03c9ee423bb
136136
```
137+
* **If you use a custom name for your workspace:**
138+
* You need to provide the name as `CODER_WORKSPACE_NAME` in your `.env`. Otherwise, it will assume your workspace name is the default we chose: `ubuntu`.
137139
138140
### 6️⃣ Pad App 📝
139141
> The fastAPI app that both serves the build frontend and the backend API to interface with Coder

0 commit comments

Comments
 (0)