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

View File

@@ -0,0 +1,22 @@
#!/bin/bash
# One-time setup: creates ~/.ssh/gitea-1password-only so git push uses 1Password for Gitea.
# Run from project root: ./scripts/setup-gitea-ssh.sh
set -e
SSH_DIR="$HOME/.ssh"
CONFIG_FILE="$SSH_DIR/gitea-1password-only"
OP_SOCK="$HOME/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
mkdir -p "$SSH_DIR"
cat > "$CONFIG_FILE" << 'EOF'
Host 10.0.10.205
User gitea
HostName 10.0.10.205
IdentityAgent "/Users/berthausmans/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
EOF
echo "Created $CONFIG_FILE"
echo ""
echo "Next: enable \"Use the SSH agent\" in 1Password (Settings → Developer)."
echo "Then you can push from Cursor or run: ./gitea-push.sh"