###MOVEMENT###
h - Move left
j - Move down
k - Move up
l - Move right
$ - Move to end of line
0 - Move to beginning of line (including whitespace)
{ | |
"annotations": { | |
"list": [] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 0, | |
"hideControls": false, | |
"id": 1, | |
"links": [], |
# listening on port 80 disabled by default, remove the "#" signs to enable | |
# redirect all traffic to https | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
server_name _; | |
return 301 https://$host$request_uri; | |
} |
server { | |
listen 80; | |
server_name www.server.com; | |
return 301 https://server.com$request_uri; | |
} | |
server { | |
listen 443; | |
server_name www.server.com; | |
return 301 https://server.com$request_uri; |
#!/bin/bash | |
export PGID=1050 | |
export PUID=1050 | |
docker-compose pull | |
docker-compose up -d |
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 \ |
#!/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 |
#!/bin/bash | |
# | |
# Shows last 50 lines of logs for specified container and continues | |
# showing log output in realtime. | |
docker logs -tf --tail="50" "$@" |
#!/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 |
#!/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 |