Deployment scripts for Sofie Automation System on Linux.
Install NodeJS and Yarn
https://linuxize.com/post/how-to-install-yarn-on-ubuntu-18-04/
cd scripts
cp set-environment_EXAMPLE.sh set-environment.sh
nano set-environment.sh
./set-environment.sh
https://docs.docker.com/install/linux/docker-ce/ubuntu/
https://docs.docker.com/engine/admin/systemd/
sudo docker network create sofie
Note: --network=sofie
needs to match NETWORK_NAME from set-environment.sh
sudo -E docker run -d --restart=always --network=sofie --hostname=mongodb -v /opt/mongo/db:/data/db -v /opt/mongo/backup:/data/backup -v /etc/timezone:/etc/timezone:ro -p 127.0.0.1:27017:27017 --name mongo mongo:3.4 --replSet rs0
sudo docker exec -it mongo mongo --eval "rs.initiate()"
- https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation.html
- Edit the
output.elasticsearch:
properties in filebeat.yml to match your setup sudo cp filebeat.yml /etc/filebeat/
- Restart filebeat
- Indexes in kibana will need to be created manually to match those in elasticsearch
cd scripts
git clone https://github.com/tv2/tv2-sofie-blueprints-inews.git
cd tv2-sofie-blueprints-inews
yarn
Deploy the blueprints from the deployment scriptmenu. (later in this README.md)
Deploy nginx from the deployment script menu. (later in this README.md)
sudo ./menu.sh
- Httpproxy for core to webhook slack?