1
1
sovereign-stack/deployment/deployment_defaults.sh

51 lines
1.6 KiB
Bash
Raw Normal View History

2023-04-07 14:23:04 +00:00
#!/bin/bash
set -eu
# file paths
export SSH_HOME="$HOME/.ssh"
export PASS_HOME="$HOME/.password-store" #TODO
export SS_ROOT_PATH="$HOME/ss"
export REMOTES_PATH="$SS_ROOT_PATH/remotes"
export PROJECTS_PATH="$SS_ROOT_PATH/projects"
export SITES_PATH="$SS_ROOT_PATH/sites"
2023-11-29 19:04:24 +00:00
export INCUS_CONFIG_PATH="$SS_ROOT_PATH/incus"
2023-04-07 14:23:04 +00:00
export SS_CACHE_PATH="$SS_ROOT_PATH/cache"
2023-04-07 14:41:18 +00:00
export REMOTE_HOME="/home/ubuntu"
export REMOTE_DATA_PATH="$REMOTE_HOME/ss-data"
export REMOTE_DATA_PATH_LETSENCRYPT="$REMOTE_DATA_PATH/letsencrypt"
export REMOTE_BACKUP_PATH="$REMOTE_HOME/backups"
export BTCPAY_SERVER_APPPATH="$REMOTE_DATA_PATH/btcpayserver-docker"
2023-04-07 14:23:04 +00:00
export BITCOIN_CHAIN=regtest
# this space is for OS, docker images, etc
# values here are fine for regtest generally. Later scripts adjust
# these values based on testnet/mainnet
export WWW_SSDATA_DISK_SIZE_GB=20
export WWW_BACKUP_DISK_SIZE_GB=50
export WWW_DOCKER_DISK_SIZE_GB=30
export BTCPAYSERVER_SSDATA_DISK_SIZE_GB=20
export BTCPAYSERVER_BACKUP_DISK_SIZE_GB=20
export BTCPAYSERVER_DOCKER_DISK_SIZE_GB=30
export WWW_HOSTNAME="www"
2023-08-12 16:16:44 +00:00
export BTCPAY_SERVER_HOSTNAME="btcpayserver"
2023-09-06 02:01:57 +00:00
export LNPLAY_SERVER_HOSTNAME="lnplayserver"
2023-04-07 14:23:04 +00:00
export BTCPAY_HOSTNAME_IN_CERT="btcpay"
export NEXTCLOUD_HOSTNAME="nextcloud"
export GITEA_HOSTNAME="git"
export NOSTR_HOSTNAME="relay"
2023-04-07 18:02:04 +00:00
export REGISTRY_URL="https://index.docker.io/v1"
export BTCPAY_SERVER_CPU_COUNT="4"
export BTCPAY_SERVER_MEMORY_MB="4096"
export WWW_SERVER_CPU_COUNT="4"
export WWW_SERVER_MEMORY_MB="4096"
2023-09-06 02:01:57 +00:00
export LNPLAY_SERVER_CPU_COUNT="4"
export LNPLAY_SERVER_MEMORY_MB="4096"
2023-04-07 18:02:04 +00:00
export DOCKER_IMAGE_CACHE_FQDN="registry-1.docker.io"