Awesome Open Source
Awesome Open Source
Ditto Logo

Eclipse Ditto™

Join the chat at Build Status Maven Central Docker pulls License Lines of code

Eclipse Ditto™ is a technology in the IoT implementing a software pattern called “digital twins”.
A digital twin is a virtual, cloud based, representation of his real world counterpart (real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations, …).

An ever growing list of adopters makes use of Ditto as part of their IoT platforms - if you're as well using it, it would be super nice to show your adoption here.


Find the documentation on the project site:

Getting started

In order to start up Ditto via Docker Compose, you'll need:

  • a running Docker daemon
  • Docker Compose installed

You also have other possibilities to run Ditto, please have a look here to explore them.

Start Ditto

In order to start the latest built Docker images from Docker Hub, simply execute:

cd deployment/docker/
docker-compose up -d

Check the logs after starting up:

docker-compose logs -f

Open following URL to get started: http://localhost:8080
Or have a look at the "Hello World"

Build and start Ditto locally

In order to build Ditto, you'll need

  • JDK 11 >= 11.0.5 and
  • Apache Maven 3.x installed.

In order to first build Ditto and then start the built Docker images.

1. Build Ditto with Maven

mvn clean install

2. Build local Ditto Docker snapshot images


If your infrastructure requires a proxy, its host and port can be set using the -p option like for example:

./ -p

Please note that the given host and port automatically applies for HTTP and HTTPS.

3. Start Ditto with local snapshot images

cd ../deployment/docker/
# the "dev.env" file contains the SNAPSHOT number of Ditto, copy it to ".env" so that docker compose uses it:
cp dev.env .env
docker-compose up -d

Check the logs after starting up:

docker-compose logs -f

You have now running:

  • a MongoDB as backing datastore of Ditto (not part of Ditto but started via Docker)
  • Ditto microservices:
    • Policies
    • Things
    • Things-Search
    • Gateway
    • Connectivity
    • Concierge
  • an nginx acting as a reverse proxy performing a simple "basic authentication" listening on port 8080

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
java (31,502
iot (578
internet-of-things (112
eclipseiot (16