Updated defaults and docs.
This commit is contained in:
parent
884b5bacab
commit
e4ed606f38
17
README.md
17
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.
|
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?
|
||||||
|
|
||||||
# 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"
|
|
@ -45,7 +45,7 @@ export AWS_REGION="us-east-1"
|
|||||||
# AMI NAME:
|
# AMI NAME:
|
||||||
# ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20220420
|
# ubuntu/images/hvm-ssd/ubuntu-jammy-22.04-amd64-server-20220420
|
||||||
export AWS_AMI_ID="ami-09d56f8956ab235b3"
|
export AWS_AMI_ID="ami-09d56f8956ab235b3"
|
||||||
WWW_INSTANCE_TYPE="t2.micro"
|
WWW_INSTANCE_TYPE="t2.small"
|
||||||
BTCPAY_INSTANCE_TYPE="t2.medium"
|
BTCPAY_INSTANCE_TYPE="t2.medium"
|
||||||
|
|
||||||
# goal will be to keep any particular instance to run AT OR BELOW t2.medium.
|
# goal will be to keep any particular instance to run AT OR BELOW t2.medium.
|
||||||
|
@ -404,6 +404,9 @@ export DEPLOY_UMBREL_VPS=false
|
|||||||
# CHAIN to DEPLOY; valid are 'testnet' and 'mainnet'
|
# CHAIN to DEPLOY; valid are 'testnet' and 'mainnet'
|
||||||
export BTC_CHAIN=regtest
|
export BTC_CHAIN=regtest
|
||||||
|
|
||||||
|
# set to false to disable nginx caching; helps when making website updates.
|
||||||
|
# export ENABLE_NGINX_CACHING=true
|
||||||
|
|
||||||
EOL
|
EOL
|
||||||
|
|
||||||
chmod 0744 "$SITE_DEFINITION_PATH"
|
chmod 0744 "$SITE_DEFINITION_PATH"
|
||||||
|
@ -182,12 +182,6 @@ cat >>"$DOCKER_YAML_PATH" <<EOL
|
|||||||
- ${REMOTE_HOME}/tor_ghost:/var/lib/ghost/content
|
- ${REMOTE_HOME}/tor_ghost:/var/lib/ghost/content
|
||||||
environment:
|
environment:
|
||||||
- url=https://${ONION_ADDRESS}
|
- 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__client=mysql
|
||||||
- database__connection__host=ghostdb
|
- database__connection__host=ghostdb
|
||||||
- database__connection__user=ghost
|
- database__connection__user=ghost
|
||||||
|
@ -12,7 +12,8 @@ sudo apt-get install -y wait-for-it dnsutils rsync sshfs \
|
|||||||
apt-transport-https ca-certificates \
|
apt-transport-https ca-certificates \
|
||||||
curl gnupg lsb-release docker-ce-cli \
|
curl gnupg lsb-release docker-ce-cli \
|
||||||
docker-ce python3-pip libusb-1.0-0-dev \
|
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
|
#libudev-dev
|
||||||
|
|
||||||
# install lxd as a snap if it's not installed. We only really use the LXC part of this package.
|
# install lxd as a snap if it's not installed. We only really use the LXC part of this package.
|
||||||
|
Loading…
Reference in New Issue
Block a user