6 Advanced Configuration
Matthias Klein edited this page 2025-08-03 21:20:50 +00:00

🔧 Advanced Configuration

Comprehensive guide to advanced GTS-HolMirDas configuration options and production deployment strategies.

🏗️ Production Deployment

Docker Resource Management

# compose.yml- Resource limits
services:
  gts-holmirdas:
    deploy:
      resources:
        limits:
          memory: 512M
        reservations:
          memory: 256M
    restart: unless-stopped

Data Persistence Strategy

Important data locations:

  • data/processed_urls.json - Processing history (prevents duplicates)
  • rss_feeds.txt - RSS feed configuration
  • .env - Environment configuration
# Backup critical data
tar -czf gts-holmirdas-backup-$(date +%Y%m%d).tar.gz \
  data/ rss_feeds.txt .env
  
# For persistent storage
mkdir -p ./data
chown 1000:1000 ./data

📡 RSS Feed Management

Feed Categories & Organization

Organize your RSS feeds by content type:

# rss_feeds.txt - Organized by category

# Homelab & Self-hosting
https://mastodon.social/tags/homelab.rss
https://fosstodon.org/tags/selfhosting.rss

# Docker & Container Technology  
https://social.tchncs.de/tags/docker.rss
https://mastodon.social/tags/kubernetes.rss

# Open Source & Development
https://fosstodon.org/tags/opensource.rss
https://hachyderm.io/tags/programming.rss

Feed Quality Assessment

Monitor which feeds provide the best instance discovery:

# Docker Compose Logs
docker compose logs gts-holmirdas | \
  grep "Successfully looked up" | \
  cut -d'/' -f3 | sort | uniq -c | sort -nr

# Oder direkt Container Logs  
docker logs gts-holmirdas 2>&1 | \
  grep "Successfully looked up" | \
  cut -d'/' -f3 | sort | uniq -c | sort -nr

High-value feed characteristics:

  • Active communities (20+ posts/day)
  • Diverse user base (multiple instances)
  • Technical content (better federation)
  • Regular posting schedule