Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
This branch is 34 commits ahead, 2 commits behind segoerke:master.

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


deegree webservices on Docker

This projects contains sample Dockerfiles for building Docker images containing ready-to-use deegree webservices. This includes quick start Dockerfiles and samples to facilitate installation, configuration, and environment setup of deegree webservices running on different Java EE application servers and using different database systems for data storage.

Please consult the deegree documentation for further information how to configure and use deegree webservices. The Docker web site provides all information about Docker.

Docker images on Docker hub

How to run deegree with PostgreSQL 9.5+/PostGIS 2.5+

Get the Docker image for PostgreSQL with PostGIS extension installed and start the container with:

% docker pull postgis/postgis
% docker run --name postgis -p 5432:5432 -d postgis/postgis

see for more information.

Then start the container with deegree. Build the Docker image using the Dockerfile for the deegree WAR on Tomcat and start the container with:

% docker run --name deegree -p 8080:8080 --link postgis:db -d deegree/deegree-tomcat

To configure a JDBC connection for deegree use the deegree console and create a JDBC connection for PostgreSQL DB under "connections > databases":

<?xml version='1.0' encoding='UTF-8'?>
<JDBCConnection configVersion='3.4.0'  xmlns='' xmlns:xsi='' xsi:schemaLocation=''>

How to run deegree with Oracle DB 11g/12c and Oracle WebLogic Server 12c

Oracle XE 11g (inofficial)

To run Oracle DB 11g inside a Docker container follow:

% docker pull wnameless/oracle-xe-11g
% docker run --name oracle11g -p 49160:22 -p 49161:1521 -d wnameless/oracle-xe-11g-r2

Oracle 12c

To run Oracle DB 12c inside a Docker container follow the official description on

% docker run --name oracle12g -p 49161:1521 --privileged -d oracle/database:

Oracle WebLogic Server 12c

To run Oracle WLS 12c (12.1 or 12.2) inside a Docker container follow:

% docker run --name wlsadmin -p 7001:7001 --link oracle11g:db -d 1221-domain

To configure a JDBC connection for deegree use the deegree console and create a JDBC connection for Oracle:

<JDBCConnection configVersion="3.4.0" xmlns="" xmlns:xsi=""  xsi:schemaLocation="">

deegree on Tomcat HOWTOs

How to add Oracle JDBC driver to Apache Tomcat

First download the Oracle JDBC driver ojdbc8.jar, version or higher from Oracle Tech Net. Then copy the Oracle JDBC driver JAR file into the $CATALINA_HOME/lib directory inside the Docker container:

% docker cp PATH_TO/ojdbc8.jar deegree-tomcat:/usr/local/tomcat/lib

Before configuring a JDBC connection for Oracle you need to restart the Docker container with:

% docker restart deegree-tomcat

How to pass CATALINA_OPTS to Apache Tomcat

This is an example how to fix the issue with Oracle JDBC when running into the error ORA-01882: timezone region not found:

% docker run --env CATALINA_OPTS="-Doracle.jdbc.timezoneAsRegion=false -Duser.timezone=CET" -d deegree/deegree-tomcat

deegree on Oracle Weblogic HOWTOs


Use Docker Compose to run the Docker application

Use the sample Docker Compose file docker-compose.yml to run the multi-container Docker application:

% docker-compose up -d deegree 

Starts the docker container deegree-webapp-tomcat and postgis.

How to configure a deegree webservice

Check out the tutorial script posted on the branch "foss4g2016_workshop". The latestes workshop resources how to setup INSPIRE Network Services with deegree are available at

Build status