-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(docker): Introduce reworked docker setup with jar #1670
Commits on Mar 13, 2024
-
feat(docker): Add the docker setup with jar
This introduces a completely revamped docker setup. The missing parts are the workflows and the docker-compose.yml. Without any configuration the container uses an example yml config shipped with it. Graph locations are parsed from envs, json and yml files - Introduce container log levels and add adjustments - Upgrade build image to java 21 (still compiled to 17)
Configuration menu - View commit details
-
Copy full SHA for 7fa3b09 - Browse repository at this point
Copy the full SHA 7fa3b09View commit details -
Configuration menu - View commit details
-
Copy full SHA for 548660f - Browse repository at this point
Copy the full SHA 548660fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4af066f - Browse repository at this point
Copy the full SHA 4af066fView commit details -
chore(config-conversion): rework & add properties conversion
- move application.yml validation to separate file - add error exit codes - use yq to edit & validate - use sed instead of awk (for os compatibility) - move comments to echo output - add a new script to parse application.yml to a properties file The scripts are using yq to make the rewrite process more robust. The less we use sed magic, the better.
Configuration menu - View commit details
-
Copy full SHA for 2d44059 - Browse repository at this point
Copy the full SHA 2d44059View commit details -
chore(config): automatic conversion of application.yml to ors-config.…
…yml and ors-config.env
Configuration menu - View commit details
-
Copy full SHA for d49eff8 - Browse repository at this point
Copy the full SHA d49eff8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81036e8 - Browse repository at this point
Copy the full SHA 81036e8View commit details -
ci(workflow): Update the docker build & test to the new setup
- use ors default port in container - Add a basic docker compose check for built image
Configuration menu - View commit details
-
Copy full SHA for eb9c2f4 - Browse repository at this point
Copy the full SHA eb9c2f4View commit details -
feat(docker): Migrate BUILD_GRAPHS to REBUILD_GRAPHS
This has been a misleading variable for some time. This introduces REBUILD_GRAPHS and keeps BUILD_GRAPHS in compatibility for now.
Configuration menu - View commit details
-
Copy full SHA for f68c21e - Browse repository at this point
Copy the full SHA f68c21eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cab31cd - Browse repository at this point
Copy the full SHA cab31cdView commit details -
fix(docker): Add more user related optimizations
The setup now detects if the user runs the container with a less privileged user and prints out necessary data for that - improve container handling - add default java opts & information to docker-compose environment Co-authored-by: Amandus Butzer <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e379d5d - Browse repository at this point
Copy the full SHA e379d5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46acc69 - Browse repository at this point
Copy the full SHA 46acc69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a86df2 - Browse repository at this point
Copy the full SHA 6a86df2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1421c7d - Browse repository at this point
Copy the full SHA 1421c7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fceeaa7 - Browse repository at this point
Copy the full SHA fceeaa7View commit details -
refactor: change config path in docker
as ors is reading the config path from $HOME, this did not work when running ors in a container as root. We moved the config ors is using in the container to the default lookup location '/etc/openrouteservice'. introduces: - copying example config to ors-config.yml if it doesn't exist - not using example-config.yml by default - adjust docker-compose.yml to changes Co-authored-by: Jochen Haeussler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa5b822 - Browse repository at this point
Copy the full SHA fa5b822View commit details -
refactor: use example-heidelberg.osm.gz
switch to usage of copied file in /home/ors/files instead of root folder Co-authored-by: Julian Psotta <[email protected]> Co-authored-by: Jochen Haeussler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60b4677 - Browse repository at this point
Copy the full SHA 60b4677View commit details -
feat(docker): Change the user example to 1000:1000
The user needs to be 1000:1000 if anything else than 0:0 wants to be chosen. Else the image needs to be rebuild with the correct gid and uid.
Configuration menu - View commit details
-
Copy full SHA for 7b67c71 - Browse repository at this point
Copy the full SHA 7b67c71View commit details -
feat(docker): Adjust the container config path
The path will now default to /home/ors/config allowing for easier mounts and a more streamlined way to configure the container.
Configuration menu - View commit details
-
Copy full SHA for dd91ebf - Browse repository at this point
Copy the full SHA dd91ebfView commit details -
fix(docker): Migrate BASE_FOLDER to ORS_HOME
This removes the redundant BASE_FOLDER and replaces a couple of more hard coded paths to ORS_HOME.
Configuration menu - View commit details
-
Copy full SHA for 2967aa5 - Browse repository at this point
Copy the full SHA 2967aa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c29fc2 - Browse repository at this point
Copy the full SHA 4c29fc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 701f7ac - Browse repository at this point
Copy the full SHA 701f7acView commit details -
fix(docker): Make the writeability and existens check explicit
It is good to have a more in depth feedback on what goes wrong.
Configuration menu - View commit details
-
Copy full SHA for fd9fd13 - Browse repository at this point
Copy the full SHA fd9fd13View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6d910f - Browse repository at this point
Copy the full SHA d6d910fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c94294c - Browse repository at this point
Copy the full SHA c94294cView commit details -
fix(docker): Migrate to the default jar location
This avoids users mounting and accidentally fiddling with the jar file.
Configuration menu - View commit details
-
Copy full SHA for 4376c12 - Browse repository at this point
Copy the full SHA 4376c12View commit details -
Configuration menu - View commit details
-
Copy full SHA for d80dc6d - Browse repository at this point
Copy the full SHA d80dc6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd84f38 - Browse repository at this point
Copy the full SHA dd84f38View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0b7c03 - Browse repository at this point
Copy the full SHA e0b7c03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 324e709 - Browse repository at this point
Copy the full SHA 324e709View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7230d0f - Browse repository at this point
Copy the full SHA 7230d0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73531c4 - Browse repository at this point
Copy the full SHA 73531c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40f992e - Browse repository at this point
Copy the full SHA 40f992eView commit details -
fix(docker-compose): Adjust the image tag to local/openrouteservice:l…
…atest This ensures that users that checkout the compose from main will either fail or if it was cloned with the repo will have the latest repo stage build as their docker image. The image line is adjusted in the release action so that the release artifacts compose files will always point to their subsequent image version on docker hub.
Configuration menu - View commit details
-
Copy full SHA for 04bbc6a - Browse repository at this point
Copy the full SHA 04bbc6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ae4651 - Browse repository at this point
Copy the full SHA 5ae4651View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92a58ed - Browse repository at this point
Copy the full SHA 92a58edView commit details -
chore: Remove dev dependencies
Curl and openssl are not needed for the final image.
Configuration menu - View commit details
-
Copy full SHA for f607eff - Browse repository at this point
Copy the full SHA f607effView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d6c763 - Browse repository at this point
Copy the full SHA 7d6c763View commit details -
Configuration menu - View commit details
-
Copy full SHA for f762dff - Browse repository at this point
Copy the full SHA f762dffView commit details -
fix(dockerfile): Move the config env setting further down and adjust …
…the config loading messages The enhanced messages ensure that the user knows that a config is either read by ENV or as a fallback when existing in the config folder.
Configuration menu - View commit details
-
Copy full SHA for 72885d6 - Browse repository at this point
Copy the full SHA 72885d6View commit details -
fix(dockerfile): Add curl again
Curl is necessary for the health check in the docker-compose.yml
Configuration menu - View commit details
-
Copy full SHA for 648f9bb - Browse repository at this point
Copy the full SHA 648f9bbView commit details -
fix(dockerfile): Replace curl with wget
Wget is provided by default and can also be used for the health check. One dependency less :).
Configuration menu - View commit details
-
Copy full SHA for f643846 - Browse repository at this point
Copy the full SHA f643846View commit details
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c5a92e9 - Browse repository at this point
Copy the full SHA c5a92e9View commit details