All Projects → terrestris → docker-geoserver

terrestris / docker-geoserver

Licence: other
A basic docker geoserver image with JAI and marlin renderer running on tomcat

Programming Languages

scheme
763 projects
HTML
75241 projects
shell
77523 projects
Dockerfile
14818 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to docker-geoserver

alpine-qbittorrent-openvpn
qBittorrent docker container with OpenVPN client running as unprivileged user on alpine linux
Stars: ✭ 230 (+1252.94%)
Mutual labels:  alpine, alpine-linux, alpine-image
headless-chrome-alpine
A Docker container running headless Chrome
Stars: ✭ 26 (+52.94%)
Mutual labels:  alpine, alpine-linux, alpine-image
Docker Oidc Proxy
Docker Image built on Alpine Linux for secure OpenID Connect (OIDC) proxy authentication
Stars: ✭ 91 (+435.29%)
Mutual labels:  alpine, alpine-linux
Termuxalpine
Use TermuxAlpine.sh calling to install Alpine Linux in Termux on Android. This setup script will attempt to set Alpine Linux up in your Termux environment.
Stars: ✭ 224 (+1217.65%)
Mutual labels:  alpine, alpine-linux
http-server
A Java HTTP server in 35MB Docker image
Stars: ✭ 17 (+0%)
Mutual labels:  alpine, alpine-linux
docker flutter
Alpine Linux image for Flutter & Dart with helpful utils and web build support.
Stars: ✭ 33 (+94.12%)
Mutual labels:  alpine, alpine-linux
Socat
Run socat command in alpine container
Stars: ✭ 53 (+211.76%)
Mutual labels:  alpine, alpine-linux
Pieman
Script for creating custom OS images for single-board computers
Stars: ✭ 149 (+776.47%)
Mutual labels:  alpine, alpine-linux
docker-alpine-sshd
A lightweight OpenSSH Docker Image built atop Alpine Linux.
Stars: ✭ 108 (+535.29%)
Mutual labels:  alpine, alpine-linux
pi-factory
Bootstrap a bitcoin lightning box for Raspberry Pi 3 based on Alpine Linux
Stars: ✭ 17 (+0%)
Mutual labels:  alpine, alpine-linux
Dockerfiles
Discontinued. Fork at your will.
Stars: ✭ 384 (+2158.82%)
Mutual labels:  alpine, alpine-linux
alpine-php-fpm
Lightweight and optimised PHP-FPM (PHP 7.4, 8.0, 8.1) Docker images with essential extensions on top of latest Alpine Linux.
Stars: ✭ 53 (+211.76%)
Mutual labels:  alpine, alpine-linux
alpine-vagrant
This builds an up-to-date Vagrant Alpine Linux Base Box
Stars: ✭ 22 (+29.41%)
Mutual labels:  alpine, alpine-linux
Docker Ruby Node
🐳 Alpine Docker Image with latest versions of Ruby, Node.js and yarn installed. This Docker Image is actively maintained and updated regularly.
Stars: ✭ 74 (+335.29%)
Mutual labels:  alpine, alpine-linux
rails5-docker-alpine
Lightweight Docker development environment for Rails using Alpine Linux
Stars: ✭ 71 (+317.65%)
Mutual labels:  alpine, alpine-linux
docker-aws-s3-sync
Docker container to sync a folder to Amazon S3
Stars: ✭ 21 (+23.53%)
Mutual labels:  alpine, alpine-linux
alpine-buildpack-deps
An attempt at a "buildpack-deps"-like Docker image with Alpine Linux
Stars: ✭ 30 (+76.47%)
Mutual labels:  alpine, alpine-linux
docker-nagios
Docker image for Nagios Core in Alpine Linux with basic plugins, available for x86, x64 , ARM v6, ARM v7 and ARM64.
Stars: ✭ 33 (+94.12%)
Mutual labels:  alpine, alpine-linux
docker-node-ci
The Docker image based on the official "node" image optimized for a CI environment
Stars: ✭ 18 (+5.88%)
Mutual labels:  alpine, alpine-linux
docker-dind-awscli
A Docker image for Docker-in-Docker (dind) with AWS CLI v2 awscli tool included
Stars: ✭ 36 (+111.76%)
Mutual labels:  alpine, alpine-linux

A geoserver docker image

This Dockerfile can be used to create images for all geoserver versions since 2.5.

Based on tomcat:9-jre11-openjdk-slim:

  • Debian based Linux
  • OpenJDK 11
  • Tomcat 9
  • GeoServer
    • Native Java advanced imaging (JAI) is installed
    • JAI-EXT is enabled by default
    • Marlin renderer
    • Support of custom fonts (e.g. for SLD styling)
    • GeoStyler included
    • CORS support

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

How to build?

docker build -t {YOUR_TAG} .

How to quickstart?

Build the image as described above, then:

docker run -it -p 80:8080 {YOUR_TAG}

or if you want to start the container daemonized:

docker run -d -p 80:8080 {YOUR_TAG}

Check http://localhost/geoserver to see the geoserver page and login with geoserver defaults admin:geoserver

How to build a specific GeoServer version?

docker build --build-arg GS_VERSION={YOUR_VERSION} -t {YOUR_TAG} .

How to build with custom geoserver data?

docker build --build-arg GS_DATA_PATH={RELATIVE_PATH_TO_YOUR_GS_DATA} .

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/

Can I build a specific GS version with custom data?

Yes! Just pass the --build-arg param twice, e.g.

... --build-arg GS_VERSION={VERSION} --build-arg GS_DATA_PATH={PATH} ...

How to build with additional libs/extensions/plugins?

Put 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.)

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:

--build-arg ADDITIONAL_LIBS_PATH={RELATIVE_PATH_TO_YOUR_LIBS}

How to add additional libs using an existing docker image?

If you want to add geoserver extensions/libs by using a mount, you can add something like

--mount src="https://github.com/dir/with/libs/on/host",target=/opt/additional_libs,type=bind

How to add additional fonts to the docker image (e.g. for SLD styling)?

If you want to add custom fonts (the base image only contains 26 fonts) by using a mount, you can add something like

--mount src="https://github.com/dir/with/fonts/on/host",target=/opt/additional_fonts,type=bind

to your docker run command.

Note: Do not change the target value!

How to watch geoserver.log from host?

docker exec -it {CONTAINER_ID} tail -f /opt/geoserver_data/logs/geoserver.log

How to use the docker-compose demo?

docker-compose -f docker-compose-demo.yml up --build

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].