Sign inSign up

mfdz/opentripplanner

By mfdz

•Updated 12 months ago

Docker image for MFDZ's OpenTripPlanner clone (which supports a carpooling mode)

Image
0

50K+

mfdz/opentripplanner repository overview

⁠OpenTripPlanner Docker image

This project contains a Docker image for MFDZ's OpenTripPlanner⁠.

⁠Usage

The otp command is available as a shortcut for java -jar otp.jar:

docker run \
    -e JAVA_MX=2G \
    -v $PWD:/data:ro \
    -p 8080:8080 \
    mfdz/opentripplanner:latest \
    otp --build /data --inMemory

After the graph has been built, the planner is available at port 8080.

⁠Environment variables

JAVA_MX: The amount of heap space available to OpenTripPlanner. (The otp command adds -Xmx$JAVA_MX to the java command.) Default: 1G

⁠Building an image

To build an image, use

docker build -t mfdz/opentripplanner .

To build from other github repositories/branches, you may specifiy build arguments like e.g.

docker build --build-arg BRANCH=ridesharing --build-arg REPO=mfdz -t mfdz/opentripplanner . 
⁠Build arguments

BRANCH: The branch which is used to perform the build. Default: ridesharing

REPO: The repo which is used to checkout the sources from. Default: mfdz

Tag summary

Content type

Image

Digest

sha256:46847b4cc…

Size

258.2 MB

Last updated

about 2 years ago

docker pull mfdz/opentripplanner