242fa8a92776cbb040d0e71772d49ade54504227
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Gitea
Self-hosted Gitea instance running on Docker Compose with a remote PostgreSQL database and automated daily backups.
Services
- gitea — Web UI on port
3008, SSH on port2222 - gitea-backup — Alpine sidecar running a daily cron job at 2 AM
Setup
docker-compose up -d
Backups
Backups run automatically at 2 AM daily, writing gitea-dump-*.zip files to /mnt/nasen/backup/gitea with 7-day retention.
Run a manual backup:
docker exec gitea-backup /usr/local/bin/backup.sh
Check backup logs:
docker exec gitea-backup cat /var/log/backup.log
Languages
Shell
100%