Skip to content

[FEATURE]: Support for custom web app proxy URL in firewalled environments #12445

@jobrk

Description

@jobrk

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem

When running opencode web, the server proxies the web UI from app.opencode.ai. This requires internet access, making OpenCode unusable in firewalled or air-gapped enterprise environments.

Use Case

Organizations with strict network policies need to:

  1. Deploy the OpenCode web UI on an internal server
  2. Have users run the local OpenCode server, pointing to the internally-hosted app

Proposed Solution

Add an environment variable OPENCODE_APP_URL to override the default proxy target.

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussionwebRelates to opencode on web / desktop

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions