https://github.com/infinitybotlist/deployproxy
https://github.com/infinitybotlist/deployproxy
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/infinitybotlist/deployproxy
- Owner: InfinityBotList
- Created: 2023-04-07T14:53:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-11T17:58:27.000Z (about 3 years ago)
- Last Synced: 2025-02-17T11:31:39.837Z (over 1 year ago)
- Language: Go
- Size: 153 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DeployProxy
Deploy Proxy is a simple service to protect our deploys from unwanted access while also being quick enough unlike Cloudflare Access.
## Setting up secrets
Create a file called `secrets.yaml` with the following format using your discord app keys:
```yaml
client_id:
client_secret:
database_url: # Must be a postgres db
redis_url: # Must be a redis db
bot_token: # Bot token of the logging/security bot
log_channel: # The channel to log to
dp_secret: # The secret to send as "X-DP-Secret" for further authentication by other services
```
For github, also set ``github_webhook_sig`` and ``github_pat``
Make sure to add ``HOST/__dp/confirm`` to discord allowed redirect urls.