Tesla Dashboard camera viewer
5.6K
A modern web application for viewing, organizing, and analyzing Tesla dashcam footage with TeslaMate integration.
| Architecture | Tag |
|---|---|
| x86-64 (amd64) | latest, v1.4.0 |
| arm64 (Synology, Raspberry Pi) | latest, v1.4.0 |
Multi-arch images are published - Docker will automatically pull the correct image for your platform.
version: "3.8"
services:
tesla-dashcam-viewer:
image: gwillaert1983/tesla-dashcam-viewer:latest
container_name: tesla-dashcam-viewer
restart: unless-stopped
ports:
- "30551:8080"
environment:
# Required: Database connection
- DATABASE_URL=postgresql://user:password@host:5432/tesla_viewer
# Optional: TeslaMate integration (for statistics)
- TESLAMATE_DATABASE_URL=postgresql://teslamate:password@host:5432/teslamate
# Required: Security
- SECRET_KEY=your-secret-key-here-minimum-32-characters
- ADMIN_PASSWORD=YourSecureAdminPassword123!
# Required: TeslaCam folder path
- TESLACAM_PATH=/media/teslacam
volumes:
# Mount your Tesla dashcam footage (read-write for deletion support)
- /path/to/your/tesla/footage:/media/teslacam:rw
# Thumbnails storage (persisted)
- thumbnails:/app/thumbnails
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8080/health || exit 1"]
interval: 30s
timeout: 5s
retries: 3
volumes:
thumbnails:
| Variable | Required | Default | Description |
|---|---|---|---|
DATABASE_URL | Yes | - | PostgreSQL connection string for main database |
TESLAMATE_DATABASE_URL | No | - | TeslaMate PostgreSQL connection (for statistics) |
SECRET_KEY | Yes | - | JWT secret key (min 32 characters) |
ADMIN_PASSWORD | Yes | - | Initial admin password |
TESLACAM_PATH | Yes | /media/teslacam | Path to Tesla dashcam footage |
# Create database for Tesla Dashcam Viewer
createdb tesla_viewer
# Database URL format:
# postgresql://username:password@hostname:port/database
DATABASE_URL=postgresql://postgres:yourpassword@localhost:5432/tesla_viewer
If you already have TeslaMate running, you can share the database:
environment:
- DATABASE_URL=postgresql://teslamate:[email protected]:5432/teslamate
- TESLAMATE_DATABASE_URL=postgresql://teslamate:[email protected]:5432/teslamate
Note: This creates the app tables in the same database as TeslaMate (they won't conflict).
TeslaCam Footage: Mount as :rw (read-write) to enable deletion functionality
/volume1/TeslaCam:/media/teslacam:rw/volume1/Cloud/Sentry:/media/teslacam:rwThumbnails: Persistent volume for generated thumbnails
thumbnails:/app/thumbnailsAdd the TeslaMate database URL to your environment:
environment:
- TESLAMATE_DATABASE_URL=postgresql://teslamate:[email protected]:5432/teslamate
Once configured, the TeslaMate Stats page provides:
[Note: Add screenshots to Docker Hub via the web interface]
View all your Tesla dashcam clips with thumbnails and metadata.
Watch footage from all four cameras simultaneously with synchronized playback.
Analyze your Tesla's battery health, charging patterns, and driving efficiency.
See where each clip was recorded on an interactive map.
The container includes a built-in health check at /health:
curl http://localhost:8080/health
/app/thumbnails volumepsql $DATABASE_URLdocker logs tesla-dashcam-viewerTESLAMATE_DATABASE_URL is correctSELECT COUNT(*) FROM drives;:rw (not :ro)/app/thumbnails volume is writableSee CHANGELOG.mdβ for detailed version history.
For issues, feature requests, or contributions, please contact:
Β© 2025 Gregory Willaert / Creative Digital Solutions Licensed under AGPL-3.0
Content type
Image
Digest
sha256:0b4146ff6β¦
Size
277.8 MB
Last updated
8 months ago
docker pull gwillaert1983/tesla-dashcam-viewer