Added Git-Sync Mirror Agent to fold-stack with support for GitHub, Forgejo, Radicle, Internet Archive, and Web3.storage

This commit is contained in:
2025-05-26 21:29:23 -05:00
parent a5c6bd121c
commit a10033a7c3
11 changed files with 359 additions and 5 deletions
+11
View File
@@ -112,6 +112,9 @@ docker logs overleaf_mongo_dev --tail=20 2>&1 || print_warning "Overleaf Mongo c
print_section "Overleaf Redis Logs (last 20 lines)"
docker logs overleaf_redis_dev --tail=20 2>&1 || print_warning "Overleaf Redis container not found (run ./scripts/enable-overleaf.sh to start)."
print_section "Git-Sync Logs (last 20 lines)"
docker logs git_sync_dev --tail=20 2>&1 || print_warning "Git-Sync container not found."
# 7. Check Volume Permissions and Contents
print_section "Forgejo Volume Permissions"
ls -ld ./volumes/forgejo || print_error "Missing volumes/forgejo"
@@ -143,6 +146,14 @@ print_section "Overleaf Volume Permissions"
ls -ld ./volumes/overleaf || print_warning "Missing volumes/overleaf (needed for Overleaf CE persistence)"
ls -la ./volumes/overleaf || print_warning "Overleaf volume contents not accessible"
print_section "Git Repositories Volume Permissions"
ls -ld ./volumes/repos || print_error "Missing volumes/repos (needed for Git-Sync)"
ls -la ./volumes/repos || print_warning "Git repositories volume contents not accessible"
print_section "Logs Volume Permissions"
ls -ld ./volumes/logs || print_error "Missing volumes/logs (needed for logging)"
ls -la ./volumes/logs || print_warning "Logs volume contents not accessible"
# 8. Check Entrypoint Script for Forgejo
print_section "Forgejo Entrypoint Script Check (forgejo-entrypoint.sh)"
head -n 10 scripts/forgejo-entrypoint.sh 2>/dev/null || print_warning "Missing forgejo-entrypoint.sh script"
+1 -1
View File
@@ -2,5 +2,5 @@
set -e
echo "Starting fold-stack development environment (excluding Overleaf CE by default)..."
docker compose -f docker-compose.dev.yml up -d --build ghost forgejo radicle pandoc mailhog trilium hedgedoc nextcloud rclone typst
docker compose -f docker-compose.dev.yml up -d --build ghost forgejo radicle pandoc mailhog trilium hedgedoc nextcloud rclone typst git-sync
echo "Core services started. To enable Overleaf CE, run: ./scripts/enable-overleaf.sh"