-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
36 lines (33 loc) · 1.05 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Example snippet for docker-compose.yml.
version: "3"
services:
## Example setup for pigallery2, pigallery2 can be accessed at port 5000 here
# pigallery2:
# image: bpatrik/pigallery2:1.9.0-alpine
# container_name: pigallery2
# privileged: true
# environment:
# - NODE_ENV=production
# volumes:
# - "/var/lib/pigallery2/config:/app/data/config"
# - "pigallery-db-data:/app/data/db"
# - "/mnt/photos:/app/data/images"
# - "/tmp:/app/data/tmp"
# ports:
# - 5000:5000
# restart: always
tesla-dashcam-manager:
image: simonkagstrom/tesla_dashcam_manager:latest
restart: always
environment:
- TZ=Europe/Stockholm
- TESLA_DASHCAM_ARGUMENTS=--title_screen_map --text_overlay_fmt "{event_timestamp} {event_city}"
- RETAIN_DAYS=365
- DESTINATION_RETAIN_DAYS=0
- PYTHONUNBUFFERED=1
devices:
- "/dev/vchiq:/dev/vchiq"
volumes:
- "/mnt/staging:/app/staging"
- "/mnt/raw-storage:/app/raw-storage"
- "/mnt/photos/TeslaCam:/app/destination-path"