shellphone.app/deployments/quirrel
2021-10-24 16:54:35 +02:00
..
fly.toml deploy quirrel to fly.io 2021-10-24 16:54:35 +02:00
readme.md deploy quirrel to fly.io 2021-10-24 16:54:35 +02:00

Quirrel

Quirrel instance running on fly.io

Deploy

flyctl launch --name quirrel-prod
node -e "console.log(crypto.randomBytes(16).toString('hex'))" # copy its output
flyctl secrets set PASSPHRASES= # paste the 32-character long password copied previously
flyctl secrets set REDIS_URL=redis://:REDIS_PASSWORD@cdg.quirrel-redis-prod.internal:6379?family=6
flyctl deploy

Set up with the app

Copy the output of this command below and set it to the app's QUIRREL_TOKEN secret

curl --user ignored:PASSPHRASES_FROM_EARLIER -X PUT https://quirrel-prod.fly.dev/tokens/shellphone