baoshan / docker-freedb

Containerized FreeDB HTTP Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

baoshan/freedb

Containerized FreeDB HTTP server.

Step 1: Create

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

Step 2: Download

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.

Step 3: Index

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.

About

Containerized FreeDB HTTP Server


Languages

Language:C 90.7%Language:Shell 5.0%Language:Groff 2.5%Language:Makefile 0.9%Language:Perl 0.9%