-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
31 lines (26 loc) · 1.17 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: "3.5"
# If you already have redis in another docker stack you can specify here that network.
# And then also specify the network in the 'listener' service
networks:
default:
services:
listener:
build: .
# volumes:
# - ".:/srv/listener"
environment:
REDIS_STREAM_PORT: ${REDIS_STREAM_PORT:-6379}
LISTENER_MODE: ${LISTENER_MODE:-true}
REDIS_STREAM_HOST: ${REDIS_STREAM_HOST:-redis}
REDIS_STREAM_DB: ${REDIS_STREAM_DB:-7}
REDIS_STREAM_STREAM_NAME: ${REDIS_STREAM_STREAM_NAME:-hdx_event_stream}
REDIS_STREAM_GROUP_NAME: ${REDIS_STREAM_GROUP_NAME:-hdx_jp_sw_pcode_group}
REDIS_STREAM_CONSUMER_NAME: ${REDIS_STREAM_CONSUMER_NAME:-hdx_jp_sw_pcode_consumer_1}
HDX_URL: ${HDX_URL:-https://feature.data-humdata-org.ahconu.org}
HDX_KEY: ${HDX_KEY:-HDX_TOKEN}
HDX_PCODE_SLACK_NOTIFICATION_CHANNEL: ${HDX_PCODE_SLACK_NOTIFICATION_CHANNEL:-topic-pcode-notifications-dev}
HDX_PCODE_SLACK_NOTIFICATION_ACCESS_TOKEN: ${HDX_PCODE_SLACK_NOTIFICATION_ACCESS_TOKEN:-SLACK_TOKEN}
# redis is only needed for testing and locally playing with redis
# redis:
# image: redis:7-alpine
# hostname: redis