avalonmediasystem / avalon-docker

Dockerfiles for Avalon Media System - http://github.com/avalonmediasystem/avalon
10 stars 15 forks source link

avalon-docker

The project contains the Dockerfiles for all the necessary components of Avalon Media System. For developing with Avalon, the docker-compose script in Avalon and Avalon Bundle are recommended.

Prerequisite

Linux

  1. Install Docker
  2. Install Docker-Compose

OSX

Usage

  1. Clone this Repo
  2. Copy dotenv.example to .env and fill in the passwords and Rails secret key base.
  3. From inside the avalon-docker directory
    • sudo chmod a+w masterfiles solr_data to setup write permissions for shared directories
    • docker-compose pull to get the prebuilt images from Dockerhub
    • docker-compose up to stand up the stack
  4. Create a user account by visiting http://localhost/users/sign_up in your browser.
  5. Make the user an admin by running docker-compose exec avalon bundle exec rake avalon:user:admin

Notes

Troubleshooting

Advanced Usage

Running on a server

Set these Avalon env vars: