Created
May 19, 2020 03:38
-
-
Save caduguedess/c2966769ca0bcc80840c28370efeb811 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
ors-app: | |
container_name: ors-app | |
ports: | |
- 8080:8080 | |
image: openrouteservice/openrouteservice:v6.1.0 | |
build: | |
context: ../ | |
args: | |
APP_CONFIG: ./docker/conf/app.config.sample | |
OSM_FILE: ./docker/data/brazil-latest.osm.pbf | |
volumes: | |
- ./graphs:/ors-core/data/graphs | |
- ./elevation_cache:/ors-core/data/elevation_cache | |
- ./logs/ors:/var/log/ors | |
- ./logs/tomcat:/usr/local/tomcat/logs | |
- ./conf:/ors-conf | |
- ./data/brazil-latest.osm.pbf:/ors-core/data/osm_file.pbf | |
environment: | |
- BUILD_GRAPHS=True # Forces the container to rebuild the graphs, e.g. when PBF is changed in app.config | |
- "JAVA_OPTS=-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=4 -Xms10g -Xmx10g -XX:MetaspaceSize=512m" | |
- "CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.rmi.port=9001 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=192.168.15.4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment