This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| export PGID=1050 | |
| export PUID=1050 | |
| docker-compose pull | |
| docker-compose up -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM debian:jessie | |
| MAINTAINER IronicBadger <ironicbadger@linuxserver.io> | |
| # Builds SnapRAID from source | |
| RUN apt-get update && \ | |
| apt-get upgrade -y && \ | |
| apt-get install -y \ | |
| gcc \ | |
| git \ | |
| make \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| docker_image_tag="snapraid-from-source" | |
| build_path="/tmp/snapraid-build/" | |
| cd $build_path | |
| docker build -t $docker_image_tag . | |
| id=$(docker create --name snapraid-tmp $docker_image_tag) | |
| docker cp $id:/artifact/ . | |
| docker rm -v $id | |
| docker rmi $docker_image_tag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Shows last 50 lines of logs for specified container and continues | |
| # showing log output in realtime. | |
| docker logs -tf --tail="50" "$@" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Replaces a container with an upgraded version from Docker Hub and recreates | |
| # using arguments supplied via /opt/docker.list | |
| CONTAINER_NAME="$@" | |
| LIST="docker.list" | |
| # check docker.list exists, exit if not | |
| { | |
| if [ ! -f $LIST ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Replaces a container with an upgraded version from Docker Hub and recreates | |
| # using arguments supplied via /opt/docker.list | |
| CONTAINER_NAME="$@" | |
| LIST="docker.list" | |
| # check docker.list exists, exit if not | |
| { | |
| if [ ! -f $LIST ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| rsync=/usr/bin/rsync | |
| ssh=/usr/bin/ssh | |
| sshkey=/home/alex/.ssh/id_rsa.pub | |
| omega_user=root | |
| omega_host=omega | |
| omega_backup_path=/volume1/omega/backups | |
| epsilon_storage=/mnt/storage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu | |
| MAINTAINER IronicBadger <ironicbadger@linuxserver.io> | |
| # Install MHDDFS compile pre-reqs for 14.04 | |
| RUN apt-get update && \ | |
| apt-get upgrade -y && \ | |
| apt-get install -y \ | |
| build-essential \ | |
| libattr1-dev \ | |
| libglib2.0-dev \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Example configuration for snapraid | |
| # Defines the file to use as parity storage | |
| # It must NOT be in a data disk | |
| # Format: "parity FILE_PATH" | |
| parity /mnt/parity1/snapraid.parity | |
| # Defines the files to use as content list | |
| # You can use multiple specification to store more copies | |
| # You must have least one copy for each parity file plus one. Some more don't hurt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Plex | |
| docker run -d \ | |
| --name plex \ | |
| --net=host \ | |
| -e PUID=1001 -e PGID=1001 \ | |
| -v /opt/appdata/plex:/config \ | |
| -v /mnt/storage/:/data \ | |
| linuxserver/plex | |
| ## NZBGet |