-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose_testing.yml
66 lines (66 loc) · 1.4 KB
/
docker-compose_testing.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.7'
services:
redis:
image: redis/redis-stack-server:latest
restart: unless-stopped
ports:
- "6379:6379"
container_name: redis
volumes:
- ~/redisData:/data/
networks:
- dmims
db:
image: mongo:4.4.17
restart: unless-stopped
ports:
- "27017:27017"
container_name: mongodb
volumes:
- ~/mongodata:/data/db
networks:
- dmims
- mongodb_network
proxy:
build:
context: .
dockerfile: Dockerfile
image: cds_hooks_ms
container_name: hooks_manager_service
restart: unless-stopped
ports:
- "3000:3000"
environment:
- MONGODB_HOST=mongodb
- MONGODB_PORT=27017
- CDS_SERVICES_MS_HOST=services_manager_service
- CDS_SERVICES_MS_PORT=3010
- SNOMEDCT_BASE_URL=snowstorm-fhir.snomedtools.org
- PROXY_PORT=3000
- LOGS=cds_hm_logs
- REDIS_HOST=
- REDIS_PORT=6379
links:
- db
depends_on:
- db
# - .:/home/node/app
# - node_modules:/home/node/app/node_modules
networks:
- dmims
mongo-express:
image: mongo-express
container_name: mongo-express
restart: unless-stopped
environment:
- ME_CONFIG_MONGODB_SERVER=mongodb
- ME_CONFIG_MONGODB_ENABLE_ADMIN=true
depends_on:
- db
networks:
- mongodb_network
ports:
- 8081:8081
networks:
dmims: {}
mongodb_network: {}