-
-
Notifications
You must be signed in to change notification settings - Fork 2
Docker Setup
deucebucket edited this page Dec 10, 2025
·
1 revision
Complete guide for running Library Manager in Docker.
git clone https://github.com/deucebucket/library-manager.git
cd library-manager
# Edit docker-compose.yml - change the audiobook path
docker-compose up -dThis is the most important concept.
Docker containers are isolated. They can't see your files unless you mount them:
volumes:
# HOST_PATH:CONTAINER_PATH
- /your/audiobooks:/audiobooks| Path Type | Example | Where to Use |
|---|---|---|
| Host path | /mnt/user/media/audiobooks |
docker-compose.yml (left of :) |
| Container path | /audiobooks |
Settings page in web UI |
The Settings page cannot access paths that aren't mounted!
volumes:
- /mnt/user/media/audiobooks:/audiobooks
- /mnt/user/appdata/library-manager:/datavolumes:
- /volume1/media/audiobooks:/audiobooks
- /volume1/docker/library-manager:/datavolumes:
- /home/user/audiobooks:/audiobooks
- ./data:/dataversion: "3.8"
services:
library-manager:
build: .
container_name: library-manager
restart: unless-stopped
ports:
- "5060:5060"
volumes:
# ⚠️ CHANGE THIS to your audiobook path
- /path/to/audiobooks:/audiobooks
- ./data:/data
environment:
- TZ=America/Chicago
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5060/"]
interval: 30s
timeout: 10s
retries: 3volumes:
- /disk1/audiobooks:/audiobooks
- /disk2/more-books:/library2
- ./data:/dataThen in Settings, add both paths:
/audiobooks
/library2
- Click + Compose
- Name:
library-manager - Paste the compose content above
- Edit the volume path
- Click Deploy
- Go to Stacks → Add Stack
- Name:
library-manager - Paste compose content or use Repository URL
- Deploy
You entered a host path in Settings instead of the container path. Use /audiobooks (or whatever you mapped it to).
Container can't read/write your files. Check folder permissions on the host.
docker logs library-manager