The SOS Journaler is a service that writes FIXM data to InfluxDB for querying. This service reads FIXM data from RabbitMQ through the SOS SWIM Consumer. These services are managed through Docker Compose.
You must set a few environment variables before running the SOS Journaler so that it can access SWIM on your behalf.
SWIM_BROKER_URL
: The URL to access the SWIM message broker atSWIM_VPN
: The VPN to connect to SWIM onSWIM_CONNECTION_FACTORY
: The name of the SWIM connection factorySWIM_QUEUE
: The name of the SWIM message queue to get FIXM data fromSWIM_USERNAME
: The username to log into SWIM withSWIM_PASSWORD
: The password to log into SWIM with
You can set these environment variables using your shell, a .env
file, or
with a docker-compose.override.yml
.
version: "3.7"
services:
sos-swim-consumer:
environment:
- SWIM_BROKER_URL=tcps://ems2.swim.faa.gov:55443
- SWIM_VPN=FDPS
- SWIM_CONNECTION_FACTORY=jondoe.hotmail.com.CF
- SWIM_QUEUE=jondoe.hotmail.com.FDPS.0a2ce3a4-50f9-4a23-bd32-a7359c028c70.OUT
- SWIM_USERNAME=jondoe.hotmail.com
- SWIM_PASSWORD=2bf22e4298934a9273ef15e
After configuring the service, you can start it using Docker Compose. All Docker images are available through Docker Hub.
docker-compose up