From 20ca133eb55fca79647f8de6b9b1c4b09cb42b3e Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Sat, 23 Jun 2018 19:05:13 -0700 Subject: [PATCH] upgrades --- README.md | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 61c42f24..710f841f 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,34 @@ Use the [Statup Docker Image](https://hub.docker.com/r/hunterlong/statup) to cre docker run -it -p 8080:8080 hunterlong/statup ``` -### Install on Linux +There are multiple way to startup a Statup server. You want to make sure Statup is on it's own instance that is not on the same server as the applications you wish to monitor. +It doesn't look good when your Status Page goes down, I recommend a small EC2 instance so you can set it, and forget it. + +## Run on AWS EC2 +Running Statup on the smallest EC2 server is very quick using the AWS AMI Image: `ami-1f7c3567`. ``` -bash <(curl -s https://statup.io/install.sh) +aws ec2 run-instances \ + --image-id ami-1f7c3567 \ + --count 1 \ + --instance type t2.micro \ + --region us-west-2 + --key-name \ + --security-group-ids \ + --subnet-id \ + --region +``` + +## Docker Compose +In this folder there is a standard docker-compose file that include nginx, postgres, and Statup. +```$xslt +docker-compose up -d +``` + +## Docker Compose with Automatic SSL +You can automatically start a Statup server with automatic SSL encryption using this docker-compose file. First point your domain's DNS to the Statup server, and then run this docker-compose command with DOMAIN and EMAIL. Email is for letsencrypt services. +``` +DOMAIN=mydomain.com EMAIL=info@mydomain.com \ + docker-compose -f docker-compose-ssl.yml up -d ``` ## User Created Plugins