mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-07 08:35:57 +03:00
instructions to add custom bridges into docker installation
parent
7edd64cc98
commit
a56fe6595d
1 changed files with 15 additions and 1 deletions
16
Docker.md
16
Docker.md
|
@ -45,4 +45,18 @@ You can save this file as `docker-compose.yml`, create a `whitelist.txt` file ne
|
|||
|Function|Command|
|
||||
|----|----|
|
||||
|Shell access (live container)|`docker exec -it rss-bridge /bin/sh`|
|
||||
|Realtime container logs|`docker logs -f rss-bridge`|
|
||||
|Realtime container logs|`docker logs -f rss-bridge`|
|
||||
|
||||
# Adding custom bridges
|
||||
If you want to add a bridge that is not part of [`/bridges`](https://github.com/RSS-Bridge/rss-bridge/tree/master/bridges), you can specify an additional layer to copy necessary files to the `rss-bridge` container.
|
||||
|
||||
_Here **root** is folder where `docker-compose.yml` and `whitelist.txt` reside._
|
||||
1. Create `bridges` folder in root, copy your [bridges files](https://github.com/RSS-Bridge/rss-bridge/wiki/How-to-create-a-new-Bridge) there, and edit `whitelist.txt` to allow new bridges.
|
||||
2. Add `dockerfile: Dockerfile` line under `build` section to `docker-compose.yml` (from the above).
|
||||
3. Create `Dockerfile` in root:
|
||||
```Dockerfile
|
||||
FROM rssbridge/rss-bridge:latest
|
||||
|
||||
COPY ./bridges /app/bridges
|
||||
```
|
||||
4. Run `docker-compose up` to recreate service.
|
Loading…
Add table
Reference in a new issue