The project contains the Dockerfiles for all the necessary components of Avalon Media System
Usage
- Clone this Repo and checkout the desired branch
- Copy dotenv.example to .env and fill in the passwords and Rails secrect key base.
On Linux
- Install Docker
- Install Docker-Compose
- From inside the avalon-docker directory
docker-compose pullto get the prebuilt images from Dockerhubdocker-compose upto stand up the stack
On a Mac
- Install Docker Toolbox for OS X
- Run
docker-machine stop defaultdocker-machine start defaultdocker-machine enveval $(docker-machine env)docker-machine start defaultdocker-compose up
- The docker container will be accessible via
http://192.168.99.100:8888/ - if anytime OS X says docker is not started, rerun `eval $(docker-machine env)
Notes
docker-compose logs <service_name>to see the container(s) logsdocker-compose build --no-cache <service_name>to build the image(s) from scratchdocker psto see all running containersdocker exec -it avalondocker_avalon_1 /bin/bashto log into Avalon docker container