feat: Mount SSH keys for Git authentication and disable interactive prompts in the update service.

This commit is contained in:
syntaxbullet
2026-01-30 15:21:41 +01:00
parent 1a3f5c6654
commit dabcb4cab3
2 changed files with 11 additions and 3 deletions

View File

@@ -58,6 +58,10 @@ services:
volumes:
# Project directory - allows git pull and rebuild
- .:/app/deploy
# SSH Keys for git authentication
- ~/.ssh/id_rsa:/home/bun/.ssh/id_rsa:ro
- ~/.ssh/id_ed25519:/home/bun/.ssh/id_ed25519:ro
- ~/.ssh/known_hosts:/home/bun/.ssh/known_hosts:ro
working_dir: /app
environment:
- NODE_ENV=production