Skip to content

Running on Docker

Raghavendra Balgi edited this page Jun 11, 2020 · 6 revisions

Iso WebSim is available as a docker image at https://hub.docker.com/r/rkbalgi/isosim

Just do a docker pull rkbalgi/isosim:latest to pull the image

The http port can be passed as a ENV variable HTTP_PORT (default is 8080)

The following volumes can be passed to your docker run command -

  1. /etc/isosim/web - Can contain your custom html/css/images etc
  2. /etc/isosim/specs - Your message specifications. This directory should contain a file .spec or .yaml files

Once done, you should be able to run using the below docker command

No SSL

> docker run -d -p 8080:8080 rkbalgi/isosim:latest

With SSL

> docker run -d --name=isosim -e TLS_ENABLED=true -e TLS_CERT_FILE=/etc/isosim/certs/cert.pem -e TLS_KEY_FILE=/etc/isosim/certs/key.pem -p 8080:8080 rkbalgi/isosim:latest