-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
21 changed files
with
420 additions
and
58 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## Basic Auth | ||
Basic Auth is not required. If you use a reverse proxy like nginx you can use a better form that is also able to save passwords in your phone. | ||
If you decide to use basic auth you need to set all three variables below. Otherwise, the container will crash with an error message as a safety measure. | ||
|
||
| Variable | Description | | ||
|------------|-----------------------------------------------------------------------------| | ||
| BASIC_AUTH | Set to true if you want to use basic auth | | ||
| USERNAME | Username for basic auth | | ||
| PASSWORD | Password for basic auth | | ||
|
||
|
||
|
||
|
||
|
||
## OIDC | ||
PodFetch also supports OIDC authentication. If you want to use it you need to set the following variables. | ||
|
||
If you enable it you need to disable BASIC_AUTH as it is not possible to use both at the same time. | ||
|
||
| Variable | Description | example | | ||
|-------------------|---------------------------------------|-----------------------------------------------------------------| | ||
| OIDC_AUTH | Flag if OIDC should be enabled | true | | ||
| OIDC_AUTHORITY | The url of the OIDC authority. | Keycloak Master <keycloak-url/realms/master | | ||
| OIDC_CLIENT_ID | The client id of the OIDC client. | podfetch | | ||
| OIDC_REDIRECT_URI | The client secret of the OIDC client. | <your-server-url>/ui/login | | ||
| OIDC_SCOPE | The scope of the oidc token | This has a default value of "openid profile email" | | ||
| OIDC_JWKS | The JWKS token uri | For Keycloak it is /realms/master/protocol/openid-connect/certs | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
## Proxy | ||
|
||
## Requirements | ||
- Set the `SERVER_URL` environment variable to the url of the proxy. | ||
- Turn on websocket support in your proxy | ||
|
||
→ You won't be able to use your service via the plain local url as the websocket connection will fail. | ||
|
||
If the SERVER_URL starts with | ||
- https => Secured Websocket (wss) | ||
- http => Unsecured Websocket (ws) | ||
|
||
# Telegram | ||
|
||
PodFetch can also send messages via Telegram if a new episode was downloaded. | ||
|
||
To enable it you need to set the following variables: | ||
|
||
| Variable | Description | example | | ||
|----------------------|----------------------------------------------------------------|----------------------------------| | ||
| TELEGRAM_BOT_TOKEN | The Bot token that you can acquire from Botfather with /newbot | asdj23:hsifuhi234klerlf...sadasd | | ||
| TELEGRAM_BOT_CHAT_ID | The chat id of the chat where the bot should send the messages | 123456789 | | ||
| TELEGRAM_API_ENABLED | If the telegram api should be enabled. | true | | ||
|
||
You can acquire the Telegram Bot chat id with the following steps: | ||
1. Write a message to the bot | ||
2. Open the following url in your browser: https://api.telegram.org/bot<TELEGRAM_BOT_TOKEN>/getUpdates | ||
3. Search for the chat id in the response |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.