Containerized FreeDB HTTP server.
The container expects FreeDB database files be mounted at /usr/local/cddb
.
It's fine to leave it empty for now, we'll load the database later.
mkdir -p ~/Metadata/freedb
docker create --name=freedb -p 8080:8080 -v ~/Metadata/freedb:/usr/local/cddb baoshan/freedb
The download script requires axel
be installed.
- Execute
./download
to download and extract the latest complete database to~/Metadata/freedb
(takes hours and eats 16GB disk); - Execute
./download http://ftp.freedb.org/pub/freedb/freedb-update-20160601-20160701.tar.bz2
for monthly update.
After step 3, run docker exec freedb cddbd -fdv
to rebuild the fuzzy match.
http://<docker-machine-ip>:8080/cddb.cgi
will be the endoint of service.