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.
- Install Docker
- Install Docker-Compose
- Install Docker Desktop for Mac
- Clone this Repo
- Copy dotenv.example to .env and fill in the passwords and Rails secret key base.
- From inside the avalon-docker directory
sudo chmod a+w masterfiles
to setup write permission for shared directorydocker-compose pull
to get the prebuilt images from Dockerhubdocker-compose up
to stand up the stack
To access the site, visit http://localhost in your browser.
docker-compose logs <service_name>
to see the container(s) logsdocker-compose build --no-cache <service_name>
to build the image(s) from scratchdocker ps
to see all running containersdocker exec -it avalondocker_avalon_1 /bin/bash
to log into Avalon docker container
Set these Avalon env vars:
SETTINGS__DOMAIN=http://<ip address or hostname>/
STREAMING_HOST=<ip address or hostname>
so Avalon crafts the right streaming URLs