Docker Crest

by mbeach
20 deployments · 1 still active · last rev. 2 months ago

Deploy Docker container(s)

https://github.com/mb243/docker-crest

Compatible with: CentOS 7, Debian 8, Debian 9, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS
						#!/bin/bash

#<UDF name="PUBKEY" Label="SSH pubkey (installed for root and sudo user)?" example="ssh-rsa ..." />
#<UDF name="RESOURCE"  Label="Resource to download?" example="URL to Dockerfile or docker-compose.yml" default="" />
#<UDF name="RUNCMD" Label="Command to run?" example="docker run --name spigot --restart unless-stopped -e JVM_OPTS=-Xmx4096M -p 25565:25565 -itd mb101/docker-spigot" default="docker-compose up" />
#<UDF name="SKIP" Label="Skip updates and server hardening?" example="Not recommended for production deployments" oneOf="no,yes" default="no" />

X=0
while [[ $X != "200" ]]; do 
  echo -n "Trying to download script... "
  X=$(curl -o out.sh -sw "%{http_code}" -L https://raw.githubusercontent.com/mb243/docker-crest/master/crest.sh)
  echo $X
done
sleep 2

. ./out.sh