Docker - assimbly/gateway GitHub Wiki
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:
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.
- Run only the integration module
docker run --rm -p 8080:8080 --name assimbly-integration assimbly/gateway-integration
- 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
- 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:
- First git clone the Gateway project from GitHub.
- Open a terminal and go to the root directory of the project.
- 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:
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