{"id":15945471,"url":"https://github.com/pjsier/docker-otp-newark","last_synced_at":"2026-02-07T07:34:31.987Z","repository":{"id":88910003,"uuid":"52758675","full_name":"pjsier/docker-otp-newark","owner":"pjsier","description":"Docker install for OpenTripPlanner with Newark OSM and GTFS data","archived":false,"fork":false,"pushed_at":"2016-11-17T03:24:47.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-04T22:40:51.447Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pjsier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-29T02:40:26.000Z","updated_at":"2016-11-17T03:24:48.000Z","dependencies_parsed_at":"2023-06-13T02:45:29.978Z","dependency_job_id":null,"html_url":"https://github.com/pjsier/docker-otp-newark","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pjsier/docker-otp-newark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjsier%2Fdocker-otp-newark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjsier%2Fdocker-otp-newark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjsier%2Fdocker-otp-newark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjsier%2Fdocker-otp-newark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pjsier","download_url":"https://codeload.github.com/pjsier/docker-otp-newark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjsier%2Fdocker-otp-newark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29189393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T05:07:31.176Z","status":"ssl_error","status_checked_at":"2026-02-07T05:06:15.227Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-07T09:02:44.187Z","updated_at":"2026-02-07T07:34:31.972Z","avatar_url":"https://github.com/pjsier.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenTripPlanner Docker Install - Newark\nDocker setup for a Newark OpenTripPlanner instance, including OpenStreetMap and GTFS data\n\n## How to setup (Mac OS X)\nClone the repo, cd into the directory of the Dockerfile you'd like to use, and run\n```\ndocker-machine create -d virtualbox --virtualbox-memory 8192 newark-otp\neval $(docker-machine env newark-otp)\ndocker build -t newark-otp .\n```\n\n## Running the Docker Container\nThen, after it finishes, first run `docker-machine ip newark-otp` to get\nthe IP address for the container, and then run\n`docker run -p 80:8080 newark-otp --router newark --server`\n\nNow you should be able to access it in your browser at that IP address.\n\nYou can also run with the `--analyst` option to use OTP Analyst features, or run\nwithout any optional arguments to see all available command line options.\n\n## How to setup (Linux)\nSimilar to the OSX instructions, but without the extra docker-machine steps at the beginning.\n```\ndocker build -t newark-otp .\ndocker run -p 80:8080 newark-otp --router newark --server\n```\n\n## Scripting with Data Volumes\n\nIn order to sync data and scripts from your host machine to the Docker container\nfor the scripting API, you'll need to just add pick a directory on your host machine,\nand sync it to `var/otp/scripting` on the container.\n\nJython has already been added to the classpath by default in the Dockerfile, so it\nwill be enabled for scripting through either the `--script` or\n`--enableScriptingWebService` options.\n\n**Example:** `docker run -v /host/machine/dir:/var/otp/scripting`\n\n### Syncing Data\nIn your script file, if you refer to any synced data (i.e. a population data CSV\nfor transportation analysis), you'll need to refer to the full file path on the\nDocker container and not your host machine.\n\n**Example:** `otp.loadCSVPopulation(\"/Users/me/test.csv\")` becomes `otp.loadCSVPopulation(\"/var/otp/scripting/test.csv\")`\n\nThe output file will show up in your host machine at the location of the synced volume\nas well as in the location in the container.\n\nHere is a full example of running this command against the container:\n\n`docker run -v /Users/me:/var/otp/scripting newark-otp --router newark --script /var/otp/scripting/script.py`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjsier%2Fdocker-otp-newark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpjsier%2Fdocker-otp-newark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjsier%2Fdocker-otp-newark/lists"}