Commit e69199df by Amir Aharon

update config files

parent a5c31e73
version: '2'
services:
otp:
# image: opentripplanner/opentripplanner
# image: municipalitybank.com:5050/mcx/devops/otp
image: goabout/opentripplanner
ports:
- "8081:8080"
- "8082:8081"
volumes:
- /var/otp/graphs:/var/otp/graphs
environment:
JAVA_MX: 8G
# JAVA_ARGS: "-Xms256m -Xmx512m"
# for running
command: otp --autoScan --server
# for building
# command: otp --build /var/otp/graphs/chicago/ --router chicago
# command: otp --build /var/otp/graphs/berlin/ --router berlin
# command: otp --build /var/otp/graphs/san-diego/ --router san-diego
## for recreating graphs: in the city folder place the .pbf file and the gtfs file
# and then start the composer with the buld command (above) for the correct city - router
[
{
"id": "chicago/crossWalk/LOCATION-30-233",
"name": "LOCATION-30-233",
"lat": "32.71369303845867",
"lon": "-117.15843803640075",
"count": "R:I:0:20",
"speed": "R:I:0:5",
"timestamp": 0,
"direction": "horizontal",
"box": [
{
"lat": 41.884744,
"lon": -87.627744
},
{
"lat": 41.884744,
"lon": -87.627647
},
{
"lat": 41.884616,
"lon": -87.627647
},
{
"lat": 41.884616,
"lon": -87.627744
}
]
},
{
"id": "chicago/crossWalk/LOCATION-31-233",
"name": "LOCATION-31-233",
"lat": "32.71369303845867",
"lon": "-117.15843803640075",
"count": "R:I:0:20",
"speed": "R:I:0:5",
"timestamp": 0,
"direction": "horizontal",
"box": [
{
"lat": 41.886071,
"lon": -87.628186
},
{
"lat": 41.886071,
"lon": -87.628086
},
{
"lat": 41.885921,
"lon": -87.628086
},
{
"lat": 41.885921,
"lon": -87.628186
}
]
}
]
FROM opentripplanner/opentripplanner
#ENTRYPOINT ["sh", "-c", "java" "$JAVA_ARGS" "-Xverify:none" "-jar" "/var/otp/otp.jar"]
COPY start.sh /
RUN chmod +x start.sh
RUN chmod +x /start.sh
ENTRYPOINT ["/start.sh"]
#CMD ["/start.sh"]
version: '2'
services:
otp:
# image: opentripplanner/opentripplanner
# image: municipalitybank.com:5050/mcx/devops/otp
image: goabout/opentripplanner
ports:
- "8081:8080"
- "8082:8081"
volumes:
- /var/otp/graphs:/var/otp/graphs
environment:
JAVA_MX: 8G
# JAVA_ARGS: "-Xms256m -Xmx512m"
# for running
command: otp --autoScan --server
# for building
# command: otp --build /var/otp/graphs/chicago/ --router chicago
# command: otp --build /var/otp/graphs/berlin/ --router berlin
# command: otp --build /var/otp/graphs/san-diego/ --router san-diego
## for recreating graphs: in the city folder place the .pbf file and the gtfs file
# and then start the composer with the buld command (above) for the correct city - router
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment