Fly.ioにホストしていたNitterの設定
Find a file
2022-07-11 19:54:01 +09:00
.github/workflows create nttr.fly.dev project 2022-07-11 19:32:49 +09:00
compose.yml Pin dependencies 2022-07-11 10:40:32 +00:00
Dockerfile Pin dependencies 2022-07-11 10:40:32 +00:00
entrypoint.sh create nttr.fly.dev project 2022-07-11 19:32:49 +09:00
fly.toml create nttr.fly.dev project 2022-07-11 19:32:49 +09:00
LICENSE create nttr.fly.dev project 2022-07-11 19:32:49 +09:00
nitter.example.conf limit connection pool size 20 → 15 2022-07-11 19:54:01 +09:00
README.md create nttr.fly.dev project 2022-07-11 19:32:49 +09:00
renovate.json create nttr.fly.dev project 2022-07-11 19:32:49 +09:00

nttr.fly.dev

前提

  • Redis

構築

git clone git@github.com:kou029w/nttr.fly.dev.git
curl -L https://fly.io/install.sh | sh
flyctl auth login
flyctl launch --no-deploy
flyctl secrets set REDIS_HOST=redis   # Redis接続情報を設定
flyctl secrets set REDIS_PORT=6379    # Redis接続情報を設定
flyctl secrets set REDIS_PASSWORD=*** # Redis接続情報を設定
flyctl secrets set "SECRET_KEY=$(python3 -c 'import secrets; print(secrets.token_urlsafe())')"
flyctl deploy --local-only