ide/docker-compose.yml

38 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2023-09-17 13:25:57 +00:00
---
services:
nvim:
build:
context: .
args:
GIT_USER_EMAIL: ${NVIM_GIT_USER_EMAIL:-nobody@example.com}
GIT_USER_NAME: ${NVIM_GIT_USER_NAME:-noboby}
2023-10-02 00:05:13 +00:00
image: 'joaodubas/nvim:${NVIM_TAG:-latest}'
2023-09-17 13:25:57 +00:00
init: true
restart: unless-stopped
hostname: local
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'
2023-09-17 13:25:57 +00:00
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'
2023-09-17 13:25:57 +00:00
volumes:
home_cache: {}
home_local_share: {}
home_local_state: {}
home_plugins_tmux: {}