Skip to content

Make app-name configurable via environment variable.#7818

Merged
code-asher merged 1 commit into
coder:mainfrom
MicahZoltu:main
May 26, 2026
Merged

Make app-name configurable via environment variable.#7818
code-asher merged 1 commit into
coder:mainfrom
MicahZoltu:main

Conversation

@MicahZoltu
Copy link
Copy Markdown
Contributor

Related to #7794 and continues fix to #7688.

I realized that CLI option is really inconvenient for my current setup, which is a general purpose code-server docker container that I can launch from any source code folder on my computer such that it is fully isolated via docker, but also retains my configuration settings. It has an entrypoint that sets the workspace, but the CLI doesn't let you pass additional arguments after the workspace so I can't just add --app-name $APP_NAME.

By making it an environment variable, I can simply provide the environment variable to docker run, and it will use that if --app-name isn't provided.

@MicahZoltu MicahZoltu requested a review from a team as a code owner May 25, 2026 11:23
Copy link
Copy Markdown
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooo love to see ??=.

@code-asher code-asher merged commit 2396092 into coder:main May 26, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants