Cómo instalar Dawarich en Docker: Location history tracker autohospedado Google Timeline
Dawarich en Docker: Location history tracker autohospedado Google Timeline killer con live tracking, mapa interactivo, heatmap, viajes, family sharing, Immich/Photoprism sync, import Google Takeout/GPX/OwnTracks, estadísticas, 10.1k stars, AGPL-3.0 open source, Ruby on Rails 🗺️📍
Dawarich es un location history tracker autohospedado diseñado para reemplazar Google Timeline. Visualiza tu historial de ubicaciones en mapa interactivo. Track live ubicación con apps (iOS, Android, OwnTracks, Overland, GPSLogger). Crea viajes. Comparte ubicación family members. Integra fotos geotagged (Immich, Photoprism). Importa Google Takeout, GPX, GeoJSON. Estadísticas de viajes (países, ciudades, distancia). 10.1k GitHub stars. AGPL-3.0 open source. Ruby on Rails + PostgreSQL. Production-ready Docker.
¿Qué es Dawarich en Docker?
Dawarich es un location history tracker autohospedado basado en Ruby on Rails que proporciona alternativa Google Timeline completa con visualización mapa interactivo, live tracking (iOS/Android/OwnTracks), historial de viajes, compartir ubicación con family members, integración fotos geotagged (Immich/Photoprism), importar Google Takeout/GPX/GeoJSON, estadísticas viajes (países visitados, ciudades, distancia), areas/lugares, visits suggestions, todo bajo tu control con privacy first sin Google. El reemplazo Google Timeline que pedías para autohospedado.
Propuesta clave: Self-hosted location tracking. Google Timeline replacement. Live location tracking (iOS + Android apps, OwnTracks, Overland, GPSLogger, PhoneTrack, Home Assistant). Interactive map visualization (heatmap, points, lines, fog of war layers). Timeline/Insights views. Family sharing (share + view family members locations). Areas drawing (suggest visits). Visits detection (beta). Statistics (countries/cities visited, distance, time spent, by month/year). Trips (create trip between dates, see route + distance + notes + photos). Days in country (tax residency tracking). Photo integration (import geodata from Immich/Photoprism, visualize photos on map). Import multiple sources (Google Takeout, OwnTracks, Strava, Immich, GPX/GeoJSON, EXIF). Export (GeoJSON, GPX). Ruby on Rails backend. PostgreSQL database. Real-time updates. Multi-user support. Full privacy control. 10.1k stars GitHub. 4.4k+ commits. Active development. AGPL-3.0 open source. Dawarich Cloud option (managed) or self-host via Docker.
Características principales
Live location tracking
iOS, Android, OwnTracks, Overland, GPSLogger, PhoneTrack, Home Assistant.
Mapa interactivo
Heatmap, puntos, líneas. Capas FOW (fog of war). Customizable visualization.
Timeline + Insights
Ver historial. Insights automáticos ("Most visited place is home").
Family sharing
Comparte ubicación family members. Ver ubicaciones consent-based.
Viajes
Create trip date range. Route, distance, time spent, notas. Visualiza fotos.
Estadísticas
Países/ciudades visitadas, distancia, tiempo, por mes/año. Tax residency.
Photo integration
Immich, Photoprism sync. Visualiza fotos geotagged en mapa.
Import multi-fuente
Google Takeout, OwnTracks, Strava, Immich, GPX/GeoJSON, EXIF photos.
Areas + Visits
Draw areas. Dawarich suggest visits. Confirm o reject. Beta feature.
Export data
GeoJSON, GPX formats. Full data ownership. Portabilidad.
Privacy-first
No cloud lock-in. Self-hosted. Open source. Full control data.
Production-ready
Docker ready. Ruby on Rails. PostgreSQL. Stable, active development.
Requisitos del sistema
- Docker & Docker Compose v2+
- 2 GB - 4 GB RAM mínimo (Ruby app, PostgreSQL)
- 20 GB - 100+ GB espacio disco (según historial ubicaciones)
- Puerto TCP: 3000 (web UI)
- PostgreSQL 13+ (bundled en compose)
- Redis (para jobs, caché - bundled)
- Ruby 3.2+ (bundled en imagen)
- Node.js + npm (assets compilation, bundled)
- Opcional: Reverse proxy (nginx/Apache + HTTPS)
- Opcional: Immich/Photoprism server (photo integration)
Instalación con Docker Compose
Paso 1: Clonar repositorio
Paso 2: Configurar .env
Paso 3: Generar SECRET_KEY_BASE
Paso 4: Iniciar Dawarich
Acceder a Dawarich
🗺️ Dawarich Web UI: http://localhost:3000
Setup inicial (primer acceso)
- Abre
http://localhost:3000 - Sign up → crear usuario
- Email:
demo@dawarich.app, Password:safepassword(por defecto) - Dashboard aparece
- Configure tracking apps (iOS, Android, OwnTracks, etc)
- ¡Empezar tracking!
http://192.168.1.100:3000Para obtener tu IP:
hostname -I
Primeros pasos
1. Cambiar credenciales por defecto
- Login con demo@dawarich.app / safepassword
- Settings → Account → cambiar email/password
- Save → nuevo login
2. Setup live tracking (iOS app)
- Descarga Dawarich for iOS (App Store)
- Settings en app → Server URL:
http://192.168.1.100:3000 - Email + password Dawarich
- Enable tracking → GPS activado
- Ubicaciones comienzan llegar web
3. Setup live tracking (Android app)
- Descarga Dawarich for Android (Play Store o GitHub)
- Settings → Server:
http://192.168.1.100:3000 - Credenciales Dawarich
- Enable → tracking activo
4. Setup OwnTracks (alternativa)
- Instala OwnTracks app
- Settings → HTTP POST
- URL:
http://192.168.1.100:3000/api/v1/locations - Username + password Dawarich
- Locations se envían automático
5. Ver mapa + historial
- Dashboard → Map tab
- Visualiza puntos tracking en tiempo real
- Timeline tab → historial por día
- Heatmap layer → intensidad ubicación
6. Crear viaje
- Trips → Create trip
- Selecciona date range (ej: "Jan 5 to Jan 15")
- Visualiza route, distance, time spent
- Agrega notas, fotos si disponibles
7. Importar Google Takeout
- Settings → Import → Google Takeout
- Upload JSON file (descargado Google Takeout)
- Procesa automático → historial importado
8. Setup family sharing
- Settings → Family → Invite family member
- Ingresa email
- Family member acepta invite
- Pueden ver ubicaciones mutuamente (consentimiento)
9. Integrar Immich/Photoprism (opcional)
- Settings → Integrations → Immich o Photoprism
- Ingresa URL + credenciales
- Dawarich importa fotos geotagged automático
- Visualiza fotos en mapa + trips
Casos de uso
- Reemplazo Google Timeline: Privacy-first. Self-hosted. Control total datos.
- Family location sharing: Sabe donde están familia members. Consentimiento.
- Travel tracking: Crea viajes, analiza estadísticas, visualiza ruta.
- Tax residency: Track días en cada país. Reportes para impuestos.
- Photo geotagging: Auto-organize fotos por ubicación (Immich/Photoprism sync).
- Privacy enthusiasts: No Google. No cloud lock-in. No publicidad. Solo datos tuyo.
- Personal memory: Revisa donde estabas (meses, años atrás). Recuerdos.
Gestión y mantenimiento
Ver estado
Ver logs
Detener Dawarich
Actualizar versión
Backup PostgreSQL
Restore PostgreSQL
Ejecutar migrations después update
Monitorear consumo
Stack técnico
- Backend: Ruby on Rails 7+
- Frontend: Rails views + Stimulus JS + Leaflet maps
- Database: PostgreSQL 13+
- Cache/Jobs: Redis + Sidekiq
- Maps: Leaflet + OpenStreetMap
- APIs: REST API (location tracking, imports)
- Deployment: Docker Compose, Kubernetes (Helm)
- Licencia: AGPL-3.0 open source
Comparativa con alternativas
vs Google Timeline
Dawarich gana: Self-hosted, open source, sin Google tracking, privacy. Google gana: Seamless integration, UI polish, AI insights.
vs OwnTracks solo
Dawarich gana: Web UI + maps, stats, family sharing, trips. OwnTracks gana: Más ligero, flexible backends.
vs Dawarich Cloud
Self-hosted gana: Full control, sin suscripción. Cloud gana: Managed service, zero setup.
Referencias oficiales
- Dawarich Official Website - Cloud + self-host info
- Dawarich GitHub Repository - Source code
- Documentation - Setup, guides, tutorials
- Docker Setup Guide - Installation
- Dawarich for iOS - App Store
- Dawarich for Android - Play Store
- Tracking Tutorials - OwnTracks, Overland, GPSLogger, etc
- Discord Community - Support
Comentarios
Publicar un comentario