-
Notifications
You must be signed in to change notification settings - Fork 4
new swarm
Evan Feenstra edited this page Jul 17, 2024
·
4 revisions
- debian 64bit (x86)
- security group:
swarm-security-group-1
- storage/instance depending on how big the graph needs to be
- in Route53 make a
*.swarm42
A record pointing to the instance (replace 42 with your number)
- paste the content of this script to install dependencies https://github.com/stakwork/sphinx-swarm/blob/master/scripts/deps.sh
- exit and reenter the instance (this helps with docker permissions)
- clone this repo
cd sphinx-swarm
docker network create sphinx-swarm
- make an env file with
HOST=swarm42.sphinx.chat
NETWORK=bitcoin
AWS_ACCESS_KEY_ID=xxx
AWS_SECRET_ACCESS_KEY=xxx
AWS_REGION=us-east-1a
AWS_S3_REGION_NAME=us-east-1
STAKWORK_ADD_NODE_TOKEN=xxx
STAKWORK_RADAR_REQUEST_TOKEN=xxx
EXTERNAL_LND_MACAROON=xxx
EXTERNAL_LND_ADDRESS=xxx
EXTERNAL_LND_CERT=xxx
If you want a custom domain (like hello.sphinx.chat), add NAV_BOLTWALL_SHARED_HOST to the .env also, and create a route53 A record for it.
./restart-second-brain.sh
It will take a few minutes for the newly created SSL certs to propagate