Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.
/ musicbrainz-vm Public archive

Scripts for creating the MusicBrainz VM with Vagrant and Docker.

License

Notifications You must be signed in to change notification settings

metabrainz/musicbrainz-vm

⚠️ Note: This repository is no longer being updated since August 2018. musicbrainz-docker should be used directly instead.

MusicBrainz Virtual Machine

This project embeds the MusicBrainz server in slave mode, along with its search server, its search indexer, and its dependencies Redis and PostgreSQL, in a VM.

Using Public VM

Beta images built for VirtualBox are released here:

ftp://ftp.eu.metabrainz.org/pub/musicbrainz-vm/

Read VM usage for usage instructions.

Building VM

Only do these steps if you want to go the looong way, otherwise download an image from the above links instead.

Please note that build scripts do not support Windows, using VirtualBox for Mac or Linux should work fine.

  1. Make sure you have 100GB free (preferably SSD) disk space (including 55GB for pg-data.vdi)
  2. Clone this repo
  3. Install VirtualBox. If you already have it installed, update to the lastest version!
  4. Install Vagrant. Get the latest version! (1.8.x+) https://www.vagrantup.com/
  5. run install.sh
  6. Wait.
  7. Wait some more.
  8. Really, wait more.
  9. You're thinking about complaining how slowly this is going? You should wait some more.
  10. Better be safe than sorry, wait some more.
  11. With some amount of luck you'll have a working VM without search indexes at this point.

Note that every remote command mentionned in VM usage instructions can be run with:

$ vagrant ssh -- _remote command_

Post build clean-up

Once the VM is built, a few cleanup bits should be done:

  • Delete the datadump files from /media/dbdump

  • Compress the data volume with this command:

      vboxmanage modifymedium disk --compact <uuid>
    

Exporting VM for deployment

Stop the Vagrant environment:

$ vagrant halt

Export the compacted VM:

$ export.sh

Do a little dance.

About

Scripts for creating the MusicBrainz VM with Vagrant and Docker.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •