Docker
The pre-requisite for SHAR is a running NATS instance or cluster. An image can be found in the NATS container registry.
The latest SHAR docker container is available in the project’s container registry.
The following environment variables are used when starting a SHAR server.
Environment Variable | Description | default |
---|---|---|
NATS_URL | the URL of the NATS server. | NATS://127.0.0.1:4222 |
SHAR_LOG_LEVEL | the logging level (debug,warn,error) | debug |