-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
30 lines (29 loc) · 1.08 KB
/
docker-compose.yaml
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
services:
ffc-sfd-messages-processor:
build:
context: .
target: production
image: ffc-sfd-messages-processor
container_name: ffc-sfd-messages-processor
depends_on:
- ffc-sfd-messages-processor-postgres
environment:
APPINSIGHTS_CLOUDROLE: ffc-sfd-messages-processor-local
APPINSIGHTS_CONNECTIONSTRING: ${APPINSIGHTS_CONNECTIONSTRING}
MESSAGE_HOST: ${MESSAGE_HOST}
MESSAGE_USER: ${MESSAGE_USER}
MESSAGE_PASSWORD: ${MESSAGE_PASSWORD}
POSTGRES_DB: ffc-sfd-messages-processor
POSTGRES_HOST: ffc-sfd-messages-processor-postgres
POSTGRES_USERNAME: postgres
POSTGRES_PASSWORD: ppp
NOTIFY_API_KEY: ${NOTIFY_API_KEY}
NOTIFY_TEMPLATE_ID: ${NOTIFY_TEMPLATE_ID}
PROCESSOR_SUBSCRIPTION_ADDRESS: ${PROCESSOR_SUBSCRIPTION_ADDRESS}-${DEV_SUFFIX}
PROCESSOR_TOPIC_ADDRESS: ${PROCESSOR_TOPIC_ADDRESS}-${DEV_SUFFIX}
ffc-sfd-messages-processor-postgres:
image: postgres:11.4-alpine
environment:
POSTGRES_DB: ffc-sfd-messages-processor
POSTGRES_PASSWORD: ppp
POSTGRES_USERNAME: postgres