Skip to content

Commit eb6bddd

Browse files
committed
refactor(dev): update dev docker compose to use custom gitconfig path
1 parent d2089b7 commit eb6bddd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dev.docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ services:
1313
WORK_DIR: "/workspace"
1414
UV: ${UV_INSTALL_DIR}
1515
SSH_AUTH_SOCK: /ssh-agent
16+
GITCONFIG_PATH: ${GITCONFIG_PATH}
1617
volumes:
1718
- ${SSH_AUTH_SOCK:-/dev/null}:/ssh-agent
1819
- .:/workspace
19-
- ~/.config/git/config:/etc/gitconfig
20+
- ${GITCONFIG_PATH:-${HOME}/.gitconfig}:/etc/gitconfig:ro
2021
networks:
2122
- ollama
2223

0 commit comments

Comments
 (0)