Skip to content
Extraits de code Groupes Projets
Valider c077204a rédigé par Louis Navarre's avatar Louis Navarre
Parcourir les fichiers

Add deployment files

parent
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
# Pull-based RSS feed of the Linux Lore mailing list using Flexicast QUIC
This document describes the procedure for getting updates on the Linux Lore mailing list using Flexicast QUIC (FCQUIC) and Automatic Multicast Tunneling (AMT).
Please refer to the abstract for more details on Flexicast QUIC and Automatic Multicast Tunneling.
We provide a docker-compose file that will automatically start AMT and FCQUIC and connect to our source to get updates through multicast.
The only thing to do is start the containers with the following command from this directory:
```
# docker compose up
```
Please pay attention that the used source code of AMT requires privileged mode to create inner tuntap links.
## Getting the RSS feed.
The feed comes from https://lore.kernel.org/all/new.atom. We use this source as we regularly get new emails.
Starting the containers will initiate a QUIC connection with our source server, and upgrate it to Flexicast if the `FLEXICAST` environment variable is set to `--flexicast`. The containers start with the `.env` file to configure all these variables automatically.
Upon reception of RSS feed, the FCQUIC receiver (you) creates the `data.txt` located in `$(pwd)/shared` directory. This `data.txt` file contains the up to date RSS feed, which can be consulted using classic RSS readers such as `newsboat`.
For example, the following configuration file will allow `newsboat` to read the RSS content received through Flexicast QUIC:
```
file:///home/louisna/fc-file-transfer/deployment/shared/data.txt
```
\ No newline at end of file
services:
amt:
image: "louisna/deployment-amt"
ports:
- "2268:2268"
command: 130.104.229.58
privileged: true
fcquic:
image: "louisna/deployment-fcquic"
volumes:
- ./shared:/shared
env_file: ".env"
1. At first, there is no "shared/" directory. It will be created when starting the docker.
2. Start the docker that will connect to our Flexicast QUIC source. Configuration values are provided in the `.env` file.
3. The "shared/" directory is created with the "data.txt" file containing the RSS updates received through Flexicast QUIC.
4. Configure `newsboat`, an RSS reader, to point to our data file.
5. We get the updates when the Flexicast QUIC source sees new RSS data from the lore.kernel.ord/all feed.
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter