forked from ProjectEKA/hip-service
-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.development.yml
66 lines (61 loc) · 1.39 KB
/
docker-compose.development.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: '3'
services:
otp:
image: "ganesan92/otp-service"
depends_on:
- db
environment:
whitelisted:numbers: ""
db:
image: "postgres:latest"
environment:
- POSTGRES_USER: ${POSTGRES_USER}
- POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- "5432:5432"
volumes:
- postgresql:/var/lib/postgresql
- postgresql_data:/var/lib/postgresql/data
- ./db-init.sql:/docker-entrypoint-initdb.d/db-init.sql
rabbitmq:
image: "rabbitmq:3"
ports:
- "5672:5672"
filebeat:
container_name: filebeat
build:
context: .
dockerfile: filebeat.Dockerfile
volumes:
- ./logs:/var/log
networks:
- elk
hip:
container_name: hip
image: "bahmnicovid19/health-information-provider"
ports:
- "8000:80"
depends_on:
- db
- otp
- rabbitmq
volumes:
- ./:/shared
environment:
Gateway:clientSecret: ${CLIENT_SECRET}
Gateway:clientId: ${CLIENT_ID}
Gateway:url: ${GATEWAY_URL}
OpenMrs:url: ${OPENMRS_URL}
OpenMrs:password: ${OPENMRS_PASSWORD}
Gateway:cmSuffix: ${CM_SUFFIX}
OtpService:BaseUrl: http://otp
hip:url: http://hip:8000
HEALTH_CHECK_DURATION: 30000
Cors:allowedOrigins: ${ALLOWED_ORIGIN}
Bahmni:Id: ${HIP_ID}
volumes:
postgresql:
postgresql_data:
networks:
elk:
external: true