-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (35 loc) · 1003 Bytes
/
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
32
33
34
35
version: "3"
services:
broker:
hostname: redpanda1
container_name: redpanda1
image: redpandadata/redpanda:latest
ports:
- 9092:9092
- 9644:9644
command: redpanda start --overprovisioned --smp 1 --memory 1G --reserve-memory 0M --node-id 0 --check=false --kafka-addr "PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092" --advertise-kafka-addr "PLAINTEXT://redpanda1:29092,OUTSIDE://redpanda1:9092"
database:
hostname: mongodb
container_name: mongodb
image: mongo:6.0.11
ports:
- 27017:27017
api:
build: .
image: amidatech/saraswati-hedis-results-api
container_name: saraswati-hedis-results-api
# Set environment variables from this file
env_file:
- .env
environment:
DB_HOST: mongodb
DB_NAME: hedisdb
DB_PORT: 27017
KAFKA_BROKERS: redpanda1:9092
KAFKA_QUEUE: hedis-measures
ports:
- "4000:4000"
networks:
default:
external: true
name: cp-all-in-one-community_default