-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.circle.yml
109 lines (109 loc) · 2.63 KB
/
docker-compose.circle.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
version: '2'
services:
server:
build: .
ports:
- 3001:3000
links:
- db:postgres.db.host
- neo4j:neo4j.db.host
- elasticsearch:elastic.local
env_file:
- swift.local.env
- circle/webapp.circle.env
- neo4j.client.local.env
- auth_service.local.env
- elastic.client.local.env
db:
build: ./docker/builds/db
env_file:
- db.env
neo4j:
image: neo4j:3.0.2
ports:
- '7474:7474'
env_file:
- neo4j.server.env
elasticsearch:
image: elasticsearch:5.4.3
ports:
- '9200:9200'
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
command: elasticsearch -E 'action.auto_create_index=false'
worker:
image: dukedataservice_server
entrypoint: ['rake', 'workers:run']
links:
- db:postgres.db.host
- neo4j:neo4j.db.host
- elasticsearch:elastic.local
env_file:
- circle/webapp.circle.env
- swift.local.env
- neo4j.client.local.env
- elastic.client.local.env
rails:
image: dukedataservice_server
entrypoint: ['rails']
links:
- db:postgres.db.host
- neo4j:neo4j.db.host
- elasticsearch:elastic.local
env_file:
- circle/webapp.circle.env
- swift.local.env
- neo4j.client.local.env
- elastic.client.local.env
rake:
image: dukedataservice_server
entrypoint: ['rake']
links:
- db:postgres.db.host
- neo4j:neo4j.db.host
- elasticsearch:elastic.local
env_file:
- circle/webapp.circle.env
- swift.local.env
- neo4j.client.local.env
- elastic.client.local.env
authservice:
image: dukedataservice_server
entrypoint: ['rake']
command: authentication_service:create
links:
- db:postgres.db.host
- neo4j:neo4j.db.host
- elasticsearch:elastic.local
env_file:
- circle/webapp.circle.env
- auth_service.local.env
- neo4j.client.local.env
- elastic.client.local.env
rspec:
image: dukedataservice_server
environment:
- RAILS_ENV=test
links:
- db:postgres.db.host
- neo4j:neo4j.db.host
- elasticsearch:elastic.local
env_file:
- circle/webapp.circle.env
- swift.local.env
- neo4j.client.local.env
- elastic.client.local.env
entrypoint: ['rspec']
command: spec
rabbitmq:
container_name: rabbitmq
image: rabbitmq:3.5-management
ports:
- "12345:5672"
dredd:
build: ./docker/builds/dredd
links:
- server:dds.host
volumes:
- ./docker/builds/dredd/dredd_scripts:/home/dredd_scripts/
- ./apiary.apib:/home/dredd_scripts/apiary.apib