-
-
Notifications
You must be signed in to change notification settings - Fork 9
Docker
There is a Docker image available on Docker Hub
This image contains Ubuntu, Java (JDK) and latest version of Assimbly gateway.
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 .
To start Assimbly:
docker run --name assimbly -p 8080:8080 assimbly/gateway:latest
When started, the gateway can be reached at the following URL:
To get into the container open another shell:
docker exec -it assimbly bash
Following commands will stop and remove Assimbly:
1. docker stop assimbly
2. docker rm assimbly
(Note: not ready yet)
To run multiple instances also download the "docker-compose.yml" (same folder as Dockerfile)
1) docker swarm init
2) docker stack deploy -c docker-compose.yml assimbly
When started, the gateway can be reached at the following URL:
To check if instances are running:
docker stack ps assimbly
To remove all instances:
1. docker stack rm assimbly
2. docker swarm leave --force