{"id":21803531,"url":"https://github.com/terrestris/docker-geoserver","last_synced_at":"2025-04-13T19:14:02.125Z","repository":{"id":31992566,"uuid":"114471393","full_name":"terrestris/docker-geoserver","owner":"terrestris","description":"A basic docker geoserver image with JAI and marlin renderer running on tomcat","archived":false,"fork":false,"pushed_at":"2025-04-03T18:31:09.000Z","size":4931,"stargazers_count":23,"open_issues_count":8,"forks_count":20,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T19:34:06.404Z","etag":null,"topics":["alpine","alpine-image","alpine-linux","docker","docker-geoserver","docker-image","geoserver","tomcat"],"latest_commit_sha":null,"homepage":"","language":"Scheme","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/terrestris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-16T15:41:16.000Z","updated_at":"2025-04-03T18:31:13.000Z","dependencies_parsed_at":"2023-10-16T10:43:26.476Z","dependency_job_id":"639d69a4-445b-4a62-9819-858124899ba1","html_url":"https://github.com/terrestris/docker-geoserver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrestris%2Fdocker-geoserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrestris%2Fdocker-geoserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrestris%2Fdocker-geoserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terrestris%2Fdocker-geoserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terrestris","download_url":"https://codeload.github.com/terrestris/docker-geoserver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766751,"owners_count":21158301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["alpine","alpine-image","alpine-linux","docker","docker-geoserver","docker-image","geoserver","tomcat"],"created_at":"2024-11-27T11:44:53.704Z","updated_at":"2025-04-13T19:14:02.098Z","avatar_url":"https://github.com/terrestris.png","language":"Scheme","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A geoserver docker image\n\nThis Dockerfile can be used to create images for all geoserver versions since 2.5.\n\nBased on [tomcat:9-jre11-openjdk-slim](https://hub.docker.com/_/tomcat):\n\n* Debian based Linux\n* OpenJDK 11\n* Tomcat 9\n* GeoServer\n  * Native Java advanced imaging (JAI) is installed\n  * [JAI-EXT](http://docs.geoserver.org/stable/en/user/configuration/image_processing/index.html#jai-ext) is enabled by default\n  * Marlin renderer\n  * Support of custom fonts (e.g. for SLD styling)\n  * [GeoStyler](https://www.osgeo.org/projects/geostyler/) included\n  * CORS support\n\n**IMPORTANT NOTE:** Please change the default geoserver master password! The default masterpw is located in this file (within the docker container): `/opt/geoserver_data/security/masterpw/default/masterpw`\n\n## How to build?\n\n`docker build -t {YOUR_TAG} .`\n\n## How to quickstart?\n\nBuild the image as described above, then:\n\n`docker run -it -p 80:8080 {YOUR_TAG}`\n\nor if you want to start the container daemonized:\n\n`docker run -d -p 80:8080 {YOUR_TAG}`\n\nCheck http://localhost/geoserver to see the geoserver page and login with geoserver defaults `admin:geoserver`\n\n## How to build a specific GeoServer version?\n\n`docker build --build-arg GS_VERSION={YOUR_VERSION} -t {YOUR_TAG} .`\n\n## How to build with custom geoserver data?\n\n`docker build --build-arg GS_DATA_PATH={RELATIVE_PATH_TO_YOUR_GS_DATA} .`\n\n**Note:** The passed path **must not** be absolute! Instead, the path should be within the build context (e.g. next to the Dockerfile) and should be passed as a relative path, e.g. `GS_DATA_PATH=./my_data/`\n\n## Can I build a specific GS version with custom data?\n\nYes! Just pass the `--build-arg` param twice, e.g.\n\n`... --build-arg GS_VERSION={VERSION} --build-arg GS_DATA_PATH={PATH} ...`\n\n## How to build with additional libs/extensions/plugins?\n\nPut your `*.jar` files (e.g. the WPS extension) in the `additional_libs` folder and build with one of the commands from above! (They will be copied to the GeoServer `WEB-INF/lib` folder during the build.)\n\n**Note:** Similar to the GeoServer data path from above, you can also configure the path to the additional libraries by passing the `ADDITIONAL_LIBS_PATH` argument when building:\n\n`--build-arg ADDITIONAL_LIBS_PATH={RELATIVE_PATH_TO_YOUR_LIBS}`\n\n## How to add additional libs using an existing docker image?\n\nIf you want to add geoserver extensions/libs by using a mount, you can add something like\n\n```\n--mount src=\"/dir/with/libs/on/host\",target=/opt/additional_libs,type=bind\n```\n\n## How to add additional fonts to the docker image (e.g. for SLD styling)?\n\nIf you want to add custom fonts (the base image only contains 26 fonts) by using a mount, you can add something like\n\n```\n--mount src=\"/dir/with/fonts/on/host\",target=/opt/additional_fonts,type=bind\n```\n\nto your `docker run` command.\n\n**Note:** Do not change the target value!\n\n## How to watch geoserver.log from host?\n\n`docker exec -it {CONTAINER_ID} tail -f /opt/geoserver_data/logs/geoserver.log`\n\n## How to use the docker-compose demo?\n\n`docker-compose -f docker-compose-demo.yml up --build`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrestris%2Fdocker-geoserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterrestris%2Fdocker-geoserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterrestris%2Fdocker-geoserver/lists"}