Skip to content

Commit

Permalink
update gtfs merger
Browse files Browse the repository at this point in the history
  • Loading branch information
Andykmcc committed Oct 21, 2023
1 parent ee5ce6a commit b3e1d39
Show file tree
Hide file tree
Showing 5 changed files with 1,798 additions and 55 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ OUTPUT_DIR_PATH="./volumes/output" # directory on host where output JSON should
AWS_ACCESS_KEY_ID="aws-access-key"
AWS_SECRET_ACCESS_KEY="aws-secret-access-key"
AWS_ENDPOINT_URL="https://minio.example.com"
HOST_GTFS_ZIPS_PATH="./volumes/gtfs-zips"
HOST_OUTPUT_DIR_PATH="./volumes/gtfsmerge-output"
19 changes: 19 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,25 @@ services:
image: ghcr.io/bikehopper/gtfs-processor:v1.0.2
command: "node /app/src/generateLocalTransitBounds.js"
build: .

bikehopper-gtfs-merge:
container_name: bikehopper-gtfs-merge
deploy:
restart_policy:
condition: none
replicas: 1
resources:
limits:
memory: 256M
reservations:
memory: 128M
volumes:
- "${HOST_GTFS_ZIPS_PATH}:/usr/app/mnts/gtfs-zips"
- "${HOST_OUTPUT_DIR_PATH}:/usr/app/mnts/output"
image: ghcr.io/bikehopper/gtfs-processor:v1.0.2
command: "node /app/src/merge-gtfs.js"
build: .

downloader:
image: amazon/aws-cli
container_name: bikehopper-downloader
Expand Down
Loading

0 comments on commit b3e1d39

Please sign in to comment.