From 49fad7cad962bce845b012043d5f37ebb9692bcd Mon Sep 17 00:00:00 2001 From: Joakim Persson Date: Mon, 27 Apr 2026 23:58:48 +0200 Subject: [PATCH] Update sample docker-compose.yml in DOCKER_HUB.md The sample was missing volumes and env vars added since the original: shell-history, zoxide, nvim-data, palace, chroma-cache, and the GitHub/Gitea token forwarding env vars. Now matches the actual docker-compose.yml shipped in the repo. --- DOCKER_HUB.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/DOCKER_HUB.md b/DOCKER_HUB.md index 988be57..045eae3 100644 --- a/DOCKER_HUB.md +++ b/DOCKER_HUB.md @@ -417,12 +417,22 @@ services: - .env environment: - TERM=xterm-256color + - GITHUB_PERSONAL_ACCESS_TOKEN=${GITHUB_PERSONAL_ACCESS_TOKEN:-} + - GITEA_ACCESS_TOKEN=${GITEA_ACCESS_TOKEN:-} + - GITEA_HOST=${GITEA_HOST:-} volumes: - ~/projects:/workspace - ~/.ssh:/home/developer/.ssh:ro - devbox-data:/home/developer/.local/share/opencode - devbox-state:/home/developer/.local/state/opencode + - devbox-shell-history:/home/developer/.cache/bash + - devbox-zoxide:/home/developer/.local/share/zoxide + - devbox-nvim-data:/home/developer/.local/share/nvim - devbox-uv:/home/developer/.local/share/uv + # Optional: persist MemPalace data (conversation memory, knowledge graph) + # - devbox-palace:/home/developer/.mempalace + # Optional: persist ChromaDB embedding model cache (~79 MB) + # - devbox-chroma-cache:/home/developer/.cache/chroma # Optional: persist Rust toolchains and cargo data # - devbox-rustup:/home/developer/.rustup # - devbox-cargo:/home/developer/.cargo @@ -440,7 +450,12 @@ services: volumes: devbox-data: devbox-state: + devbox-shell-history: + devbox-zoxide: + devbox-nvim-data: devbox-uv: + # devbox-palace: + # devbox-chroma-cache: # devbox-rustup: # devbox-cargo: # devbox-vscode: