ide/docker-compose.yml
Joao P Dubas d2b37ab393 chore: minor random updates (#240)
* Add `tmuxp` configuration to access local `raspberry pi` cluster
* Configure editor behaviour through `editorconfig`
* Fix format for `24-bit-color` script
* Add volume for `supermaven` data
* Remove the `ANTHROPIC_API_KEY` environment variable

Reviewed-on: #240
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:50:24 +00:00

57 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:
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'
- 'home_supermaven:/home/coder/.supermaven'
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: {}
home_supermaven: {}
chroma_data: {}