Public Repository

Last pushed: 2 years ago
Short Description
System Health Server
Full Description

ABOUT

System Health Server running a SpringBoot app.

Returns a JSON document from a REST service containing status of devices from ``init.xml```.

Ping devices defined in init.xml.

TAGS

  • 0.6.01= init.xml is bootstrapping the app. System ID based upon order in init.xml

USAGE

syshealth-server is intended to be used together with a client; web, mobile or any other device possible to consume JSON documents.

http://[ip-addr]:[port-to-container]/syshealth-server/device/all

Find port: $ docker ps OR $ docker port [CONTAINER].
"-P" maps to a free port. "-p HOSTPORT:8080" maps container to a host port of your choice.
Port 8080 is exposed by the container.

PULL

$ docker pull fresel72/syshealth:[TAG]

CONFIG

Copy the init.xml file from the image /data folder:

$ docker images
$ docker cp [IMAGE]:/data/init.xml [HOSTPATH]

Edit it after your needs.

Alternately download the file adapted for each TAG. See TAG info below.

Remember: init file must be named init.xml in the container.

RUN

$ docker run -d -P -v [path-to-edited-init.xml]:/data/init.xml / 
fresel72/syshealth-server:[TAG]
Docker Pull Command
Owner
fresel72

Comments (0)