Docker installation
This guide applies to fnOS, Synology, QNAP, and regular Linux Docker hosts. Get the current Compose template from the download center and replace host paths with locations from your setup.
Configure the template
The template uses a multi-architecture image, so Docker normally selects the matching build. Confirm that your media directory exists and mount it read-only at /media inside the container.
services:
drama:
image: leedaisen/leelaa-drama-server:latest
ports:
- "8688:8688"
volumes:
- drama-data:/data
- /your/dramas:/media:ro
restart: unless-stopped
volumes:
drama-data:Start and sign in
docker compose config -q
docker compose pull
docker compose up -dOpen http://your-NAS:8688/ with the default port, or use your chosen port. Follow the first-start prompt to sign in as administrator and change the temporary password, then open Me → Settings → Library Management, add /media, and scan.
Data and permissions
Keep /data on persistent storage. Do not map it to a temporary directory or let two containers write to it. Mount media read-only so the app cannot change original videos.
For permission errors, check that the NAS share lets the container read the directory. Do not make an entire share writable. See Upgrade and backup.
Ports and public access
The left port is the host port and the right is the container port. If the port is busy, change only the left side and use the new address. Use an HTTPS reverse proxy for public access. A trusted HTTPS address is also required to add the app to a phone home screen.
Troubleshooting
- Page unavailable: check container state, port conflicts, and firewall rules.
- Media missing: enter
/mediain Reader and check the read-only mount. - First password issue: use the first-start prompt or account recovery. Do not edit the database.
- License message: keep the original data and deployment settings and follow the in-app support guidance.
Administrators and viewers · Directory permissions · Upgrade and backup · fnOS data migration