Skip to content
assimbly edited this page Jun 27, 2019 · 6 revisions

There is a Docker image available on Docker Hub

This image contains Ubuntu, Java (JDK) and latest version of Assimbly gateway.

Build

To build you own Docker image you can get the Docker file from source:

https://github.com/assimbly/gateway/blob/master/src/main/docker/Dockerfile

You can change the file if needed and rebuild

docker build -t assimbly .

Run

To start Assimbly:

docker run --name assimbly -p 8080:8080 assimbly/gateway:latest

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

http://localhost:8080

To get into the container open another shell:

docker exec -it assimbly bash

remove

Following commands will stop and remove Assimbly:

1. docker stop assimbly
2. docker rm assimbly

multiple instances

(Note: not ready yet)

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