shellphone.app/deployments/quirrel/readme.md

22 lines
612 B
Markdown
Raw Normal View History

2021-10-24 14:54:35 +00:00
# Quirrel
Quirrel instance running on fly.io
### Deploy
```shell
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
```shell
curl --user ignored:PASSPHRASES_FROM_EARLIER -X PUT https://quirrel-prod.fly.dev/tokens/shellphone
```