Add Docker build/push and Dockge deploy workflow

- Add api/admin/upload Dockerfiles and .dockerignore
- Add deploy/docker-compose.yml (ports 3001-3004) and deploy/README.md
- Add scripts/docker-build-push.sh for Gitea registry push
- Add Gitea/SSH scripts and Google Drive controller updates

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-03 13:36:11 +01:00
parent eb304f4b14
commit b333198d7e
18 changed files with 455 additions and 7 deletions

25
ssh-1password-diagnose.sh Normal file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
# Run in Terminal. Shows which SSH agent and key are used for Gitea.
# If you see "id_rsa" → SSH is NOT using 1Password (no prompt).
# If you see "SHA256:KY3A6J1..." → SSH is using 1Password.
OP_AGENT="/Users/berthausmans/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
echo "=== Which agent does SSH use for gitea@10.0.10.205? ==="
echo ""
echo "Running: ssh -v -T gitea@10.0.10.205 2>&1 | grep -E '(identity|agent|Offering|Authentications)'"
echo ""
ssh -v -T gitea@10.0.10.205 2>&1 | grep -E '(identity file|IdentityAgent|get_agent_identities|Offering public key|Authentications that can continue)' || true
echo ""
echo "---"
echo "If you see 'id_rsa' above → SSH is using the system agent, NOT 1Password."
echo "If you see 'SHA256:KY3A6J1r8Shvf...' (Offering public key) → 1Password is used."
echo ""
echo "This repo is set to use 1Password for git (core.sshCommand)."
echo "Test Gitea (bypass config, force 1Password):"
echo " SSH_AUTH_SOCK=\"$OP_AGENT\" ssh -F /dev/null -o IdentitiesOnly=yes -o User=gitea -o HostName=10.0.10.205 -T gitea@10.0.10.205"
echo ""
echo "Then: git push -u origin main (uses 1Password via repo config)"
echo ""