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"
|
|
|
|
export LXD_CONFIG_PATH="$SS_ROOT_PATH/lxd"
|
|
|
|
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
|
|
|
|
|
2023-08-11 13:46:08 +00:00
|
|
|
export CLAMSSERVER_SSDATA_DISK_SIZE_GB=20
|
|
|
|
export CLAMSSERVER_BACKUP_DISK_SIZE_GB=20
|
|
|
|
export CLAMSSERVER_DOCKER_DISK_SIZE_GB=100
|
|
|
|
|
2023-04-07 14:23:04 +00:00
|
|
|
export WWW_HOSTNAME="www"
|
2023-08-12 16:16:44 +00:00
|
|
|
export BTCPAY_SERVER_HOSTNAME="btcpayserver"
|
2023-08-11 13:46:08 +00:00
|
|
|
export CLAMS_SERVER_HOSTNAME="clamsserver"
|
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-08-11 13:46:08 +00:00
|
|
|
export CLAMS_SERVER_CPU_COUNT="4"
|
|
|
|
export CLAMS_SERVER_MEMORY_MB="4096"
|
2023-04-07 18:02:04 +00:00
|
|
|
export DOCKER_IMAGE_CACHE_FQDN="registry-1.docker.io"
|