Skip to content
Raymond Meester edited this page Dec 1, 2022 · 6 revisions

All Assimbly Docker images are available on Docker Hub.

The images contain Alpine Linux, Java 11 (Eclipse Temurin) and the latest version of Assimbly Gateway.

Run

To run Assimbly Gateway:

docker run --rm -p 8080:8080 --name assimbly assimbly/gateway-full

When started, the gateway can be reached at the following URL:

http://localhost:8080

To get into the container open in another shell:

docker exec -it assimbly bash

Remove

Following commands will stop and remove Assimbly:

1. docker stop assimbly
2. docker rm assimbly

Other images

Besides the full gateway you can also run parts of the gateway.

  1. Run only the integration module

docker run --rm -p 8080:8080 --name assimbly-integration assimbly/gateway-integration

  1. Run only the integration module without GUI

docker run --rm -p 8080:8080 --name assimbly-headless assimbly/gateway-headless

Note that in headless mode the API can be reached on: http://localhost:8080/swagger-ui/index.html

  1. Run only the broker

docker run --rm -p 8080:8080 --name assimbly-broker assimbly/gateway-broker

Build

You can build your own Docker image locally:

  1. First git clone the Gateway project from GitHub.
  2. Open a terminal and go to the root directory of the project.
  3. Run the following buildDocker script.

Linux/Mac:

cd ./bin/mac
sh ./buildDocker full dev opensource beta

Windows:

cd \bin\windows
buildDocker.bat full dev opensource beta

When started, the gateway can be reached at the following URL:

http://localhost:8088

multiple instances

(Note: Experimental)

To run multiple instances also download the "docker-compose.yml" (same folder as Dockerfile)

start

1)  docker swarm init
2)  docker stack deploy -c docker-compose.yml assimbly

When started, the gateway can be reached at the following URL:

http://localhost:8080

check

To check if instances are running:

docker stack ps assimbly

remove

To remove all instances:

1. docker stack rm assimbly
2. docker swarm leave --force
Clone this wiki locally