ide/docker-compose.yml
Joao P Dubas 3f7fcf1618 feat(neovim): experiment with ai agents (#237)
The following changes are introduced:

* Update `kickstart.nvim` to latest commit ([6ba24..3338d](6ba2408cdf..3338d39206))
* Add [`goose`](https://block.github.io/goose/) and [`goose.nvim`](https://block.github.io/goose/)
* Re-enable [`avante.nvim`](https://block.github.io/goose/)

Reviewed-on: #237
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-05-28 18:37:07 +00:00

56 lines
1.7 KiB
YAML

---
services:
nvim:
build:
context: .
args:
GIT_USER_EMAIL: ${NVIM_GIT_USER_EMAIL:-nobody@example.com}
GIT_USER_NAME: ${NVIM_GIT_USER_NAME:-noboby}
image: 'joaodubas/nvim:${NVIM_TAG:-latest}'
init: true
restart: unless-stopped
hostname: local
pull_policy: never
entrypoint: sleep
command: infinity
environment:
ANTHROPIC_API_KEY: ${NVIM_ANTHROPIC_API_KEY:-no-api}
GH_TOKEN: &github_token ${NVIM_GH_TOKEN:-no-token}
GITHUB_TOKEN: *github_token
COMPOSE_BAKE: 'true'
volumes:
- './config/atuin:/home/coder/.config/atuin'
- './config/git:/home/coder/.config/git'
- './config/goose:/home/coder/.config/goose'
- './config/mcphub:/home/coder/.config/mcphub'
- './config/mise:/home/coder/.config/mise'
- './config/nvim/lua/custom:/home/coder/.config/nvim/lua/custom'
- './config/starship:/home/coder/.config/starship'
- './config/tmux:/home/coder/.config/tmux'
- './config/tmuxp:/home/coder/.config/tmuxp'
- './config/vectorcode:/home/coder/.config/vectorcode'
- 'home_cache:/home/coder/.cache'
- 'home_local_share:/home/coder/.local/share'
- 'home_local_state:/home/coder/.local/state'
- 'home_plugins_tmux:/home/coder/.config/tmux/plugins'
chroma:
image: 'ghcr.io/chroma-core/chroma:1.0.10'
init: true
restart: unless-stopped
hostname: chroma
environment:
IS_PERSISTENT: 'true'
PERSISTENT_DIRECTORY: /data
volumes:
- 'chroma_data:/data'
ports:
- '${IDE_CHROMA_PORT:-18000:8000}'
volumes:
home_cache: {}
home_local_share: {}
home_local_state: {}
home_plugins_tmux: {}
chroma_data: {}