From e4ed606f386afb4240d44b3303763330ee74f150 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Sun, 29 May 2022 22:43:42 -0400 Subject: [PATCH] Updated defaults and docs. --- README.md | 17 ++--------------- defaults.sh | 2 +- deploy.sh | 3 +++ deployment/stub_docker_yml.sh | 6 ------ install.sh | 3 ++- 5 files changed, 8 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 8d83732..e3e9da8 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,3 @@ -# Directions +# Documentation -ALL files at this level SHOULD be executed on the management machine! If you have just downloaded Soveregin Stack, run `install.sh` to install all the dependencies required by Sovereign Stack scripts. - -# Dockerfile - -If you want to run the Sovereign Stack management machine activities inside a docker container, you can do so by 1) building the image and 2) running the resulting sovereign stack docker container: - -## Building - -docker build -t sovereign-stack . - -## Running - -docker run -it sovereign-stack \ - -v "$HOME/.sites/domain.tld" \ No newline at end of file +All documentation for this project can be found at the [sovereign-stack.org](https://www.sovereign-stack.org). [Click here](https://www.sovereign-stack.org/about) if you are new to Sovereign Stack? \ No newline at end of file diff --git a/defaults.sh b/defaults.sh index 48b6647..a757f9a 100644 --- a/defaults.sh +++ b/defaults.sh @@ -45,7 +45,7 @@ export AWS_REGION="us-east-1" # AMI NAME: # ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20220420 export AWS_AMI_ID="ami-09d56f8956ab235b3" -WWW_INSTANCE_TYPE="t2.micro" +WWW_INSTANCE_TYPE="t2.small" BTCPAY_INSTANCE_TYPE="t2.medium" # goal will be to keep any particular instance to run AT OR BELOW t2.medium. diff --git a/deploy.sh b/deploy.sh index e798fcf..de3740a 100755 --- a/deploy.sh +++ b/deploy.sh @@ -404,6 +404,9 @@ export DEPLOY_UMBREL_VPS=false # CHAIN to DEPLOY; valid are 'testnet' and 'mainnet' export BTC_CHAIN=regtest +# set to false to disable nginx caching; helps when making website updates. +# export ENABLE_NGINX_CACHING=true + EOL chmod 0744 "$SITE_DEFINITION_PATH" diff --git a/deployment/stub_docker_yml.sh b/deployment/stub_docker_yml.sh index da1789a..cbbe013 100755 --- a/deployment/stub_docker_yml.sh +++ b/deployment/stub_docker_yml.sh @@ -182,12 +182,6 @@ cat >>"$DOCKER_YAML_PATH" <