Files
docker-compose-cookbooks/vscode
codeandClaude Fable 5 8ab413804a normalize all stacks to conventions
- VOL_PATH always defaults to /data; vscode/opencode VOL_PROJECTS nests it
- TZ defaults to America/Vancouver (was UTC in etherpad, ntfy, redis)
- compose section order fixed (volumes before environment, command after networks)
- all default secrets are the literal ChangeThisPassword (grep-friendly,
  users must change them); removed a real key from ollama sample.env
- sample.env synced with compose: missing vars added with defaults, dead vars removed
- invoiceninja_dev/openarchiver_dev: app services had no environment block,
  wired all sample.env vars through so the stacks actually work
- opencode: sample.env OLLAMA_HOST renamed to OLLAMA_HOST_URL to match compose
- TZ values unquoted consistently

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 06:24:54 +00:00
..
2026-05-05 17:26:01 +00:00
2026-07-16 06:24:54 +00:00

Code Server

Overview

VS Code

Project Details

  • Project Website: Link
  • Container Image: Docker Hub
  • Reverse Proxy Port: 8443

Environment Variable Notes

Data directory:

- ${VOL_PATH:-./data}/vscode/data:/data

This is where all your code is stored, it should be set to your 1000 user. Then you can move your code here as that user.

Config Directory: This is your home directory, your ssh keys are stored here.

Additional Notes / Gotchas

For setup you need to set the user and group ID you can do that by using id username or by changing the vol with chown -R user:group path/

Set git info

Open terminal and run:

git config --global user.name "Name"
git config --global user.email "your-email@example.com"

You also want to generate a key for your connection:

ssh-keygen -t ed25519 -C "c@nickyeoman.com"
cat ~/.ssh/id_ed25519.pub 

Nginx Proxy manager

If you are placing this behind NPM then you need to enable web sockets.

Dockhand Stack, Deploy from Git

Cookbooks Repository stackname: vscode Compose file path: vscode/compose.yaml Additional env file (optional): vscode/sample.env

Then "Load" vscode/sample.env into the Environmental variables in dockhand

Create the Stack