Plex

I use this image: https://github.com/wernight/docker-plex-media-server This is my setup: sudo docker compose-up -d /var/lib/plex-config is my NAS share for the persisted plex settings that goes into /config in the container. First run, I need to set up graphically so I created a tunnel for the purpose: ssh -L 8888:localhost:32400 woodenstake.se I…

Read More

OctoPi

Using a relay to control power: http://www.thingiverse.com/thing:1726120/#comment-1134637 Bought this relay: http://www.ebay.co.uk/itm/252614067501 Piggypack Pi's power from UM2 PSU: https://ultimaker.com/en/community/15515-powering-raspberry-pi-from-ultimaker-2-main-board So made my own mount: http://www.thingiverse.com/thing:2117493 Camera:…

Read More

Private drone setup with Docker, haproxy and letsencrypt

First a persistent storage on my NAS: Added NFS share "drone" on my ReadyNAS by clicketiclick. sudo mkdir /var/lib/drone add to /etc/fstab: 10.0.1.30:/raiden/drone /var/lib/drone nfs auto 0 0 sudo mount -a Get and setup drone sudo docker pull drone/drone In /var/lib/drone/dronerc: REMOTE_DRIVER=github REMOTE_CONFIG=https://github.com?c…

Read More

Add Lets Encrypt to JDK keystore

Will probably need to do this on more client machines: wget https://letsencrypt.org/certs/isrgrootx1.pem wget https://letsencrypt.org/certs/letsencryptauthorityx1.der sudo keytool -trustcacerts -keystore /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre/lib/security/cacerts -storepass changeit -noprompt -importcert -alias isrgro…

Read More

Setting up a docker registry

As part of my new "infrastructure setup" I need my own private docker registry. This is of course run as a docker container. Prerequisites: docker docker-compose Create and mount data storage on host machine I create an NFS share on my NAS and mount it in fstab: 10.0.1.30:/raiden/docker /var/lib/docker-registry nfs auto 0 0 Setup htpass…

Read More