-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (50 loc) · 1.91 KB
/
docker-compose.yml
File metadata and controls
55 lines (50 loc) · 1.91 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
services:
tracker:
build: .
container_name: media-encoding-tracker
restart: unless-stopped
ports:
- "8000:8000"
volumes:
# Persistent database storage
- tracker-data:/data
# Your SMB share — already mounted on the host.
# Change the left-hand path to wherever your share is mounted.
- /Volumes/glass/media/movies:/media:rw
# Optional: bind a host ffmpeg binary directory and point FFMPEG_BIN at it.
# - /opt/homebrew/bin:/host-bin:ro
environment:
# ── Paths (must match volume mounts above) ──
MEDIA_ROOT: /media
DB_PATH: /data/tracker.db
# ── Authentication ──────────────────────────
ADMIN_USER: admin
ADMIN_PASS: changeme # CHANGE THIS!
# ── Server ──────────────────────────────────
HOST: 0.0.0.0
PORT: 8000
LOG_LEVEL: info
# ── Runtime behavior (UI is read-only; edit these here) ──
AUTO_SCAN_ENABLED: true
SCAN_SCHEDULE: "0 */6 * * *"
AUTO_CONVERT_ENABLED: false
CONVERT_SCHEDULE: "0 2 * * *"
DEFAULT_QUALITY: medium
DELETE_ORIGINAL_AFTER_CONVERT: false
DESTINATION_CODEC: h264
SOURCE_CODECS: hevc,vp9,av1,mpeg4
# Optional: executable path inside the container.
# Example when using the optional /opt/homebrew/bin mount above:
# FFMPEG_BIN: /host-bin/ffmpeg
FFMPEG_BIN: ffmpeg
LOWER_TARGET_RESOLUTION_ON_V4L2_FAIL: true
MIN_TARGET_RESOLUTION: 480
COMPOSE_FILE_PATH: /app/docker-compose.yml
# Optional: grant access to V4L2 devices for hardware-accelerated encoding.
# See README § Hardware Acceleration before enabling.
# devices:
# - /dev/video10:/dev/video10
# - /dev/video11:/dev/video11
# - /dev/video12:/dev/video12
volumes:
tracker-data: