Sign inSign up

monicaproject/scral

By monicaproject

Updated over 6 years ago

Repository for docker quickstart images of SCRAL integration modules.

Image
0

1.0K

monicaproject/scral repository overview

SCRAL Module Dockerfile - ENV Variables

This repository contains ready-to-use SCRAL application containers for the integration of several resources through the MONICA platform.

To work properly, each SCRAL container requires to be connected to an already configured GOST environment (https://github.com/gost/server). For this reason, the above containers are meant to be used as part of a docker-compose file where GOST containers are deployed.

The fully-working docker-compose packages are available at:

• https://github.com/MONICA-Project/staff-management-demo
• ...

In the following, a list of environmental variables configurable from the Dockerfile of SCRAL containers.

CONFIG
• CONFIG = "custom” -> SCRAL module will load the user-defined env variables set up in the dockerfile (otherwise the other env variables will be ignored)
  
• CONFIG = "pilot_name” -> SCRAL will load load a pilot-specific configuration file defined in the config folder of the SCRAL module
    ◦ you can either load an already existing "pilot_name" folder or add a new one
    ◦ config files are available at "<HOME>/config/"
MODULE_NAME (optional)
• name of the SCRAL module
• default value: “SCRAL Module”
• variables used for documentation purposes only (appears in the SCRAL http landing page)
ENDPOINT_URL (optional)
• URL of the SCRAL module endpoint
• default value: “localhost”
• variables used for documentation purposes only (appears in the SCRAL http landing page)
ENDPOINT_PORT (optional)
• port of the SCRAL module endpoint
• default value: 8000
• variables used for documentation purposes only (appears in the SCRAL http landing page)
VERBOSE (optional)
• allow to print debug and additional information on SCRAL log
• default value: 0 (FALSE)
OGC_SERVER_ADDRESS
• GOST server endpoint
OGC_SERVER_USER
• SCRAL user credential for GOST server access
• defaul value: hardcoded
OGC_SERVER_PASSWORD (optional)
• SCRAL psw credential for GOST server access
• defaul value: SCRAL credential are stored inside SCRAL container
PUB_BROKER_URI
• URI of the broker MQTT used by the SCRAL module for publishing Observations to GOST
• broker should be the same as the one used by GOST for listening to OGC Observations
PUB_BROKER_PORT (optional)
• PORT of the broker MQTT used by the SCRAL module to publish Observations for GOST
• default value: 1883
PUB_BROKER_KEEPALIVE (optional)
• MQTT keepalive option
• default value: 60 (seconds)
GOST_MQTT_PREFIX (optional)
• MQTT topic prefix used by the SCRAL for publishing Observations to GOST via the pub_broker
• defaul value: “GOST/”
LISTENING_ADDRESS (optional)
• Listening endpoint of the SCRAL module
• default value: “localhost”
LISTENING_PORT (optional)
• Listening port of the SCRAL module
• default value: 8000
UPDATE_INTERVAL (optional)
• time interval used to monitor the number of messages arrived in a given burst of requests
• default value: 60 (seconds)

Tag summary

Content type

Image

Digest

Size

40.5 MB

Last updated

over 6 years ago

docker pull monicaproject/scral:sound_level_meter