Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

beep boop sign your commits

License

NotificationsYou must be signed in to change notification settings

FRRouting/frrbot

 
 

Repository files navigation

A GitHub bot for managing the FRRouting/frr repo.

Quickstart

git clone https://github.com/frrouting/frrbot.gitcd frrbotmkdir datacp .env.sample .env# Edit .env and fill in all valuesdocker compose up -d

The app will now be listening on 127.0.0.1:9091. You can either:

  • change the port indocker-compose.yml to80, or
  • set up a reverse proxy from 80 to 9091

The latter is recommended; this way you can set up TLS in the reverse proxy.

  • GH_WEBHOOK_SECRET should be the webhook secret used to authenticate requests from GitHub
  • GH_APP_ID should be the ID of your GitHub App
  • GP_APP_ROUTE should be the URL you want to listen for webhooks onrelative to the uWSGI mountpoint
  • GH_APP_PKEY_PEM_PATH should be the absolute path to the PEM format privatekey associated with your GitHub App; you should mount the key into thecontainer at that path
  • GH_GIST_USER_TOKEN should be a personal access token for a real user. Thisuser will be used to host gists, since GitHub apps can't use gists.

Miscellaneous notes:

  • uWSGI options within the container can be modified by changinguwsgi.ini inthis repository root and rebuilding the container.
  • The job store sqlite database will be indata/jobstore.sqlite

Development

Running manually

  1. docker build --tag frrbot:latest .
  2. docker run -e GH_WEBHOOK_SECRET=<secret> GH_APP_ROUTE="/gh" GH_APP_ID=<ID> -e GH_APP_PKEY_PEM_PATH=<path> -e JOB_STORE_PATH=<path> --port 80:80 frrbot:latest
  3. frrbot will be listening on0.0.0.0:80/frrbot/gh

About

beep boop sign your commits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python98.5%
  • Dockerfile1.5%

[8]ページ先頭

©2009-2025 Movatter.jp