hte-danger-zone-job
Setup
- Build image
docker build -t danger-zone-job .
- Run image
docker run -d --name danger-zone-job \ -e REDIS_HOST='redis:6379' \ -e REDIS_PASSWORD='' \ -e REDIS_CHANNEL_GEOLOC='c-geoloc' \ -e REDIS_CHANNEL_CREATE_ZONE='c-dangerzone:create' \ -e REDIS_CHANNEL_DELETE_ZONE='c-dangerzone:delete' \ -e REDIS_KEY_DANGER_ZONE='k-dangerzone' \ -e REDIS_QUEUE_ALARMS='q-alarms' \ --network hte \ danger-zone-job
Generate mocks
mockery --all --inpackage
Redis key convention
Streams: s-<NAME>
Stream Last ID read: slid-<STREAM_NAME>:<SERVICE>
Queues: q-<NAME>
Individual values: v-<NAME>
Channels: c-<NAME>