{"id":17287558,"url":"https://github.com/justb4/docker-mapfish-print2","last_synced_at":"2026-04-27T12:02:44.138Z","repository":{"id":150579463,"uuid":"221014989","full_name":"justb4/docker-mapfish-print2","owner":"justb4","description":"Docker Image for CampToCamp.com's MapFish Print (Servlet) version 2","archived":false,"fork":false,"pushed_at":"2021-12-15T12:09:16.000Z","size":442,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T17:22:00.746Z","etag":null,"topics":["docker","docker-image","mapfish","ogc-services","osgeo"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justb4.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}},"created_at":"2019-11-11T15:48:24.000Z","updated_at":"2021-12-15T12:09:19.000Z","dependencies_parsed_at":"2023-06-11T07:15:29.807Z","dependency_job_id":null,"html_url":"https://github.com/justb4/docker-mapfish-print2","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"316bb181b4034d2fcbb79b2f92fbd334bc6ae99f"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/justb4/docker-mapfish-print2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justb4%2Fdocker-mapfish-print2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justb4%2Fdocker-mapfish-print2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justb4%2Fdocker-mapfish-print2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justb4%2Fdocker-mapfish-print2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justb4","download_url":"https://codeload.github.com/justb4/docker-mapfish-print2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justb4%2Fdocker-mapfish-print2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker","docker-image","mapfish","ogc-services","osgeo"],"created_at":"2024-10-15T10:03:28.063Z","updated_at":"2026-04-27T12:02:44.117Z","avatar_url":"https://github.com/justb4.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-mapfish-print2\n\nDocker image and tools for MapFish Print (MFP) **VERSION 2** legacy.\n\nThis version is still used in quite some contexts. \n\n* Find the [MapFish Print v2 docs here](http://www.mapfish.org/doc/print/).\n* Find [Docker Images on DockerHub](https://hub.docker.com/r/justb4/mapfish-print2).\n* See my repo [docker-mapfish-print](https://github.com/justb4/docker-mapfish-print) for a MFP **version 3+** Docker Image.\n\nIf you read this on DockerHub, local links will not work, [read full README here](https://github.com/justb4/docker-mapfish-print2).\n \n## Log4J Security fix\n\nRead more [here](config/webapp/WEB-INF/lib/README.md). Bottom line: this project does **not** use Log4J2 (but v1)!\n\n## Building\n\nWith the script [build.sh](build.sh) the Docker image can be build\nfrom the [Dockerfile](Dockerfile) but this is not really necessary as\nyou may use your own `docker build` commandline.\n\nBuild arguments with values if not passed to build:\n\n- **IMAGE_TIMEZONE** - timezone of Docker image, default ``\"Europe/Amsterdam\"``\n- **IMAGE_LOCALE** - locale of Docker image, default ``\"nl_NL.UTF-8\"``\n- **MFPRINT_VERSION** - MapFish Print (Servlet) version, default ``\"2.1-SNAPSHOT\"``\n\n## Versions\nI found that `2.1-SNAPSHOT` was the highest MFP2 version that worked (for me).\nThese come from https://oss.sonatype.org/content/repositories/snapshots/org/mapfish/print/print-servlet/.\nIf you are able to get a higher version working, let me know, via [the issue-tracker](https://github.com/justb4/docker-mapfish-print2/issues).\n\n### Build Options\n\nThe files under the  [config](config) dir are automatically integrated in the Docker image as follows:\n\n- [config/tomcat/*](config/tomcat): override any files in the standard Tomcat install (see below)\n- [config/tomcat/bin/setenv.sh](config/tomcat/bin/setenv.sh): Tomcat options like for memory, proxies etc\n- [config/tomcat/conf/server.xml](config/tomcat/bin/setenv.sh): server settings like port (default 8080) and threads\n- [config/webapp/WEB-INF/web.xml](config/webapp/WEB-INF/web.xml): override web.xml for Tomcat MFP .war\n- [config/webapp/config/index.html](config/webapp/config/index.html): the demo page, provide your own if required\n\nYou can adapt these or use a [prebuilt Docker Image](https://hub.docker.com/r/justb4/mapfish-print2) \nand use Volume mapping or extend the image.\n\n## Running\n\nSee the [examples directory](examples) for how to run with your own config.\nThe main things to do are:\n\n* create Print config YAML file(s) see [examples](examples/webapp/config) and the [MFP v2 docs](http://www.mapfish.org/doc/print/)\n* configure each config YAML within `web.xml` at bottom, use [config/webapp/WEB-INF/web.xml](config/webapp/WEB-INF/web.xml) as starter\n\nExample:\n\n```\n    \u003c!-- Example how to configure for your YAML config(s) --\u003e\n    \u003cservlet\u003e\n        \u003cservlet-name\u003emapfish.print.default\u003c/servlet-name\u003e\n        \u003cservlet-class\u003eorg.mapfish.print.servlet.MapPrinterServlet\u003c/servlet-class\u003e\n        \u003cinit-param\u003e\n            \u003cparam-name\u003econfig\u003c/param-name\u003e\n            \u003cparam-value\u003econfig/config.default.yaml\u003c/param-value\u003e\n        \u003c/init-param\u003e\n    \u003c/servlet\u003e\n    \u003cservlet-mapping\u003e\n        \u003cservlet-name\u003emapfish.print.default\u003c/servlet-name\u003e\n        \u003curl-pattern\u003e/pdf.default/*\u003c/url-pattern\u003e\n    \u003c/servlet-mapping\u003e\n\n```  \n\n* mount these files into the container using Docker Volume mount (or extend the Docker build)\n* optional: provide HTML test-pages, see [examples](examples/webapp/config/test)\n\n## Credits\n\n* Kartoza team: https://github.com/kartoza for providing good examples of Dockerfiles for FOSS geospatial Java .war's.\n* TT Fonts addition: https://github.com/panosoft/docker-prince-server/blob/master/Dockerfile\n* [CampToCamp](https://www.camptocamp.com/) for developing MapFish Print and many other useful FOSS Geospatial software\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustb4%2Fdocker-mapfish-print2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustb4%2Fdocker-mapfish-print2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustb4%2Fdocker-mapfish-print2/lists"}