C
Coder.com4mo ago
Serva

How install extension on code server

Hi, I am still working my way thorugh the documentation but I could use some help on how to install public marketplace extensions on my code-server. I am only using the code-server so far deployed via Docker. I am not using the full Coder platform yet. Any suggestions with this will be helpful. :pepepray:
8 Replies
Codercord
Codercord4mo ago
Codercord
Codercord4mo ago
<#1386795416321917009>
Category
Help needed
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
Serva
ServaOP4mo ago
Docker compose setup -
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
env_file: .env
volumes:
- ~/data/config/codeServer:/config
- ~/workspaces:/workspaces
# Optionally, also mount docker socket if you want to access the docker containers
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8443:8443 # Web UI
restart: unless-stopped
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
env_file: .env
volumes:
- ~/data/config/codeServer:/config
- ~/workspaces:/workspaces
# Optionally, also mount docker socket if you want to access the docker containers
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 8443:8443 # Web UI
restart: unless-stopped
.env file -
# General UID/GIU and Timezone
TZ=America/New_York
PUID=1000
PGID=1000

PASSWORD=*********** #optional
# HASHED_PASSWORD= #optional
SUDO_PASSWORD=********** #optional
# SUDO_PASSWORD_HASH= #optional
PROXY_DOMAIN=code.internal.servahome.org #optional
DEFAULT_WORKSPACE=/workspaces/experiments#optional
PWA_APPNAME=code-server #optional

# Look at DockerMods here - https://hub.docker.com/r/linuxserver/code-server#application-setup
DOCKER_MODS=linuxserver/mods:code-server-zsh|linuxserver/mods:universal-docker #optional
# General UID/GIU and Timezone
TZ=America/New_York
PUID=1000
PGID=1000

PASSWORD=*********** #optional
# HASHED_PASSWORD= #optional
SUDO_PASSWORD=********** #optional
# SUDO_PASSWORD_HASH= #optional
PROXY_DOMAIN=code.internal.servahome.org #optional
DEFAULT_WORKSPACE=/workspaces/experiments#optional
PWA_APPNAME=code-server #optional

# Look at DockerMods here - https://hub.docker.com/r/linuxserver/code-server#application-setup
DOCKER_MODS=linuxserver/mods:code-server-zsh|linuxserver/mods:universal-docker #optional
Phorcys
Phorcys3mo ago
hey @Serva apologies for the delays, were you able to figure this out?
Serva
ServaOP3mo ago
Hey @Phorcys Yep, I was trying to install Copilot but from what I gathered code-server doesn't support this yet. If you can point to any more documentation on alternatives around this that can be helpful.
Phorcys
Phorcys3mo ago
so, I think it's now supported by GitHub since they've open-sourced the extension but haven't tried it myself
Phorcys
Phorcys3mo ago
GitHub
GitHub - microsoft/vscode-copilot-chat: Copilot Chat extension for ...
Copilot Chat extension for VS Code. Contribute to microsoft/vscode-copilot-chat development by creating an account on GitHub.
Phorcys
Phorcys3mo ago
hey @Serva just checking in, has that worked?

Did you find this page helpful?