Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
Signed-off-by: Clemens Vasters <[email protected]>
  • Loading branch information
clemensv committed Sep 17, 2024
1 parent d2abddf commit 1562b21
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions gtfs/CONTAINER.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,23 @@ Instances providing the information explained above. Just click the button below
[![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fclemensv%2Freal-time-sources%2Fmain%2Fgtfs%2Fazure-template.json)


### Example

The following example shows how to start the bridge with a set of feeds for the
Seattle metropolitan area, sending to an Event Hub.

The corresponding entries in the mobility database are:
* [Puget Sound Consolidated GTFS](https://mobilitydatabase.org/feeds/mdb-1080)
* [King County Metro GTFS-RT Trip Updates](https://mobilitydatabase.org/feeds/mdb-1540)
* [King County Metro GTFS-RT Vehicle Positions](https://mobilitydatabase.org/feeds/mdb-1542)
* [King County Metro GTFS-RT Alerts](https://mobilitydatabase.org/feeds/mdb-1541)

```shell
$ docker run --rm \
-e CONNECTION_STRING='<connection-string>' \
-e GTFS_RT_URLS='https://api-endpoint.com/gtfs-rt' \
-e GTFS_URLS='https://gtfs.sound.obaweb.org/prod/1_gtfs.zip' \
-e GTFS_RT_URLS='https://s3.amazonaws.com/kcm-alerts-realtime-prod/tripupdates.pb,https://s3.amazonaws.com/kcm-alerts-realtime-prod/alerts.pb,https://s3.amazonaws.com/kcm-alerts-realtime-prod/vehiclepositions.pb' \
-e AGENCY='KingCountyMetro' \
ghcr.io/clemensv/real-time-sources-gtfs:latest
```

0 comments on commit 1562b21

Please sign in to comment.