1
1

Updated defaults and docs.

This commit is contained in:
Derek Smith 2022-05-29 22:43:42 -04:00
parent 884b5bacab
commit e4ed606f38
Signed by: farscapian
GPG Key ID: 8F1CD799CCA516CC
5 changed files with 8 additions and 23 deletions

View File

@ -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"
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?

View File

@ -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.

View File

@ -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"

View File

@ -182,12 +182,6 @@ cat >>"$DOCKER_YAML_PATH" <<EOL
- ${REMOTE_HOME}/tor_ghost:/var/lib/ghost/content
environment:
- url=https://${ONION_ADDRESS}
- mail__options__service=SMTP
- mail__transport=SMTP
- mail__options__host=${SMTP_SERVER}
- mail__options__port=${SMTP_PORT}
- mail__options__auth__user=${SMTP_LOGIN}
- mail__options__auth__pass=\${SMTP_PASSWORD}
- database__client=mysql
- database__connection__host=ghostdb
- database__connection__user=ghost

View File

@ -12,7 +12,8 @@ sudo apt-get install -y wait-for-it dnsutils rsync sshfs \
apt-transport-https ca-certificates \
curl gnupg lsb-release docker-ce-cli \
docker-ce python3-pip libusb-1.0-0-dev \
pinentry-curses containerd.io docker-compose-plugin
pinentry-curses containerd.io docker-compose-plugin \
libcanberra-gtk-module
#libudev-dev
# install lxd as a snap if it's not installed. We only really use the LXC part of this package.