2024-11-04 10:02:06 -06:00
|
|
|
**Don't use this**
|
|
|
|
|
|
|
|
Tinyfeed now has its own Docker image and can be run as a daemon, use that imstead.
|
|
|
|
|
2023-09-30 14:14:27 -05:00
|
|
|
# docker-tinyfeed
|
2023-09-25 10:09:02 -05:00
|
|
|
|
|
|
|
[![Build Status](https://drone.askiiart.net/api/badges/askiiart/docker-tinyfeed/status.svg?ref=refs/heads/main)](https://drone.askiiart.net/askiiart/docker-tinyfeed)
|
|
|
|
|
2024-11-04 10:02:06 -06:00
|
|
|
[`tinyfeed`](https://github.com/TheBigRoomXXL/tinyfeed) in a Docker container
|
2023-09-25 10:09:02 -05:00
|
|
|
|
|
|
|
## Running
|
|
|
|
|
|
|
|
Example `docker run`:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
docker run -d -e INTERVAL=300 -v /path/to/feeds.txt:/data/feeds.txt -v /path/to/html:/html docker.askiiart.net/askiiart/tinyfeed
|
|
|
|
```
|
|
|
|
|
|
|
|
Example `docker-compose.yml`:
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
version: '3.7'
|
|
|
|
services:
|
|
|
|
tinyfeed:
|
|
|
|
image: docker.askiiart.net/askiiart/tinyfeed
|
|
|
|
environment:
|
|
|
|
- INTERVAL=300
|
|
|
|
volumes:
|
|
|
|
- /path/to/feeds.txt:/data/feeds.txt
|
|
|
|
- /path/to/html:/html
|
|
|
|
```
|
|
|
|
|
|
|
|
## Environment Variables
|
|
|
|
|
|
|
|
| Variable | Description |
|
|
|
|
| ---------- | ------------------------------------- |
|
|
|
|
| `INTERVAL` | How often to run tinyfeed, in seconds |
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
|
|
|
1. Run `docker build .`
|