Skip to content

docs(admin/workspace-proxies): add instructions to run using the Docker image #7915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 9, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions docs/admin/workspace-proxies.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ CODER_TLS_KEY_FILE="<key_file_location>"
coder wsproxy server
```

### Running from the Docker image
### Running in Docker

Modify the default entrypoint to run the workspace proxy.
Modify the default entrypoint to run a workspace proxy server instead of a regular Coder server.

#### Docker Compose

change the provided [`docker-compose.yml`](https://github.com/coder/coder/blob/main/docker-compose.yaml) file to include the workspace proxy.
Change the provided [`docker-compose.yml`](https://github.com/coder/coder/blob/main/docker-compose.yaml) file to include a custom entrypoint:

```diff
image: ghcr.io/coder/coder:${CODER_VERSION:-latest}
Expand All @@ -121,11 +121,3 @@ ENTRYPOINT ["/opt/coder", "wsproxy", "server"]
Users can navigate to their account settings to select a workspace proxy. Workspace proxy preferences are cached by the web browser. If a proxy goes offline, the session will fall back to the primary proxy. This could take up to 60 seconds.

![Workspace proxy picker](../images/admin/workspace-proxy-picker.png)

```

```

```

```