-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
83 lines (79 loc) · 2.85 KB
/
docker-compose.yml
File metadata and controls
83 lines (79 loc) · 2.85 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3.8"
services:
library-manager:
image: ghcr.io/deucebucket/library-manager:latest
# Or build locally: comment out 'image' above, uncomment below
# build: .
container_name: library-manager
restart: unless-stopped
ports:
- "5757:5757"
volumes:
# ⚠️ REQUIRED - Your audiobook library
# The container CANNOT see your files unless you mount them here!
# Format: /your/host/path:/audiobooks
- /path/to/your/audiobooks:/audiobooks
# Data persistence (config.json, secrets.json, library.db)
- ./data:/data
environment:
- TZ=America/Chicago # Change to your timezone
- PORT=5757 # Change if port conflicts (also update ports: above)
# UnRaid users: Set PUID/PGID to match your user (typically 99/100)
# This ensures files are created with correct ownership
# - PUID=99
# - PGID=100
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5757/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
# =============================================================
# ⚠️ IMPORTANT: YOU MUST EDIT THE VOLUME MOUNT ABOVE!
# =============================================================
#
# The Settings page CANNOT access paths that aren't mounted here.
# Docker containers are isolated - they can only see mounted paths.
#
# WRONG: Skipping the mount and typing your path in Settings
# → "Path doesn't exist" error (container can't see it)
#
# RIGHT: Mount your path here, THEN use /audiobooks in Settings
#
# =============================================================
# QUICK START FOR DOCKGE / PORTAINER / UNRAID USERS:
# =============================================================
#
# 1. Edit the volumes section above:
# - Change /path/to/your/audiobooks to your ACTUAL audiobook folder
#
# Examples:
# - UnRaid: /mnt/user/media/audiobooks:/audiobooks
# - Linux: /home/user/audiobooks:/audiobooks
# - Synology: /volume1/media/audiobooks:/audiobooks
#
# 2. Change timezone (TZ) to your location
# - America/New_York, America/Chicago, Europe/London, etc.
#
# 3. Deploy the stack
#
# 4. Access the web UI at: http://your-server-ip:5757
#
# 5. In Settings, set your library path to: /audiobooks
# (This is the path INSIDE the container, not your host path!)
#
# 6. Add your API key (Gemini recommended - free 14,400 calls/day)
# Get one at: https://aistudio.google.com
#
# =============================================================
# MULTIPLE LIBRARIES? Add more volume mounts:
# =============================================================
#
# volumes:
# - /mnt/disk1/audiobooks:/audiobooks
# - /mnt/disk2/more-audiobooks:/audiobooks2
# - ./data:/data
#
# Then in Settings, add both: /audiobooks and /audiobooks2
#
# =============================================================