Besides upgrading `kickstart` configuration, the following changes were made: * add `avante` to start working with `AI` code generation and reduce code boilerplate creation * configure ide image/container with environment variables: * `NVIM_GIT_USER_EMAIL`: email associated with git commit * `NVIM_GIT_USER_NAME`: name associated with git commit * `NVIM_ANTHROPIC_API_KEY`: `anthropic` api key, used by `avante` * `NVIM_GH_TOKEN`: `github` token, used by `github cli` Reviewed-on: #128 Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com> Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
36 lines
1.1 KiB
YAML
36 lines
1.1 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
|
|
entrypoint: sleep
|
|
command: infinity
|
|
environment:
|
|
ANTHROPIC_API_KEY: ${NVIM_ANTHROPIC_API_KEY:-no-api}
|
|
GH_TOKEN: ${NVIM_GH_TOKEN:-no-token}
|
|
volumes:
|
|
- './config/atuin:/home/coder/.config/atuin'
|
|
- './config/git:/home/coder/.config/git'
|
|
- './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'
|
|
- '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'
|
|
|
|
volumes:
|
|
home_cache: {}
|
|
home_local_share: {}
|
|
home_local_state: {}
|
|
home_plugins_tmux: {}
|