-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.demo.yml
85 lines (85 loc) · 2 KB
/
docker-compose.demo.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '3'
services:
redis:
image: redis
ports:
- '127.0.0.1:6379:6379'
postgres:
image: postgres:9.5
ports:
- '127.0.0.1:5432:5432'
environment:
- POSTGRES_DB=${ENVPOSTGRES_DB}
- POSTGRES_PASSWORD=${PGPASSWORD}
- POSTGRES_USER=${PGUSER}
rabbitmq:
container_name: rabbitmq
hostname: rabbitmq-container
image: rabbitmq:3.6.2-management
ports:
- "127.0.0.1:15672:15672"
- "127.0.0.1:5672:5672"
migrations:
image: anton1987/migrations_demo
environment:
- DB_HOST=${DB_HOST}
- PGUSER=${PGUSER}
- PGPASSWORD=${PGPASSWORD}
depends_on:
- postgres
patient:
image: anton1987/patients_demo
ports:
- '0.0.0.0:3000:3000'
environment:
- DB_HOST=${DB_HOST}
- PGUSER=${PGUSER}
- PGPASSWORD=${PGPASSWORD}
- HUTCH_MQ_HOST=${HUTCH_MQ_HOST}
- HUTCH_MQ_API_HOST=${HUTCH_MQ_API_HOST}
depends_on:
- postgres
- redis
- rabbitmq
- migrations
manager:
image: anton1987/manager_demo
ports:
- '0.0.0.0:4000:4000'
environment:
- DB_HOST=${DB_HOST}
- PGUSER=${PGUSER}
- PGPASSWORD=${PGPASSWORD}
depends_on:
- postgres
- migrations
history:
image: anton1987/history_service_demo
ports:
- '0.0.0.0:5000:5000'
- '0.0.0.0:9292:9292'
environment:
- DB_HOST=${DB_HOST}
- DB_REDIS_HOST=${DB_REDIS_HOST}
- PGUSER=${PGUSER}
- PGPASSWORD=${PGPASSWORD}
- DB_REDIS_PORT=${DB_REDIS_PORT}
- DB_PG_PORT=${DB_PG_PORT}
- ENVPOSTGRES_DB=${ENVPOSTGRES_DB}
depends_on:
- postgres
- redis
- migrations
system:
image: anton1987/system_demo
environment:
- PGUSER=${PGUSER}
- PGPASSWORD=${PGPASSWORD}
- ENVPOSTGRES_DB=${ENVPOSTGRES_DB}
- DB_HOST=${DB_HOST}
- DB_PG_PORT=${DB_PG_PORT}
- HUTCH_MQ_HOST=${HUTCH_MQ_HOST}
- HUTCH_MQ_API_HOST=${HUTCH_MQ_API_HOST}
depends_on:
- postgres
- rabbitmq