Skip to content

Instantly share code, notes, and snippets.

Avatar

Casey CaseyRo

View GitHub Profile
View Markdium-YAML.yaml
version: '2'
services:
sonoshttpapi:
image: jonmaddox/rpi-docker-node-sonos-http-api
restart: always
network_mode: host
volumes:
- ./settings:/app/settings
- ./clips:/app/clips
- ./cache:/app/cache
View Markdium-text.txt
sudo usermod -aG docker pi
View Markdium-text.txt
apt-get update
apt-get upgrade
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
sudo apt-get -y install docker-compose
View Markdium-Shell.bash
mkdir clips
mkdir settings
mkdir cache
mkdir presets
curl https://raw.githubusercontent.com/jishi/node-sonos-http-api/master/presets/example.json > presets/example.json
View Markdium-text.txt
docker info|grep "Docker Root Dir"
View Markdium-Shell.bash
sudo touch docker-compose.yaml
sudo nano docker-compose.yaml
View Markdium-text.txt
sudo nano /etc/docker/daemon.json
View Markdium-text.txt
sudo apt-get install libffi-dev
sudo apt-get install -y python python-pip
sudo pip install docker-compose