-
Notifications
You must be signed in to change notification settings - Fork 7
/
test.yml
119 lines (110 loc) · 2.06 KB
/
test.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
110
111
112
113
114
115
116
117
118
119
version: "2"
networks:
raptor_test:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.238.0/24
gateway: 172.16.238.1
services:
api:
image: raptorbox/standalone:v5
ports:
- 10090:80
volumes:
- ./config:/etc/raptor
- ./data:/data
networks:
- raptor_test
extra_hosts:
- "raptor.local:172.16.238.1"
broker:
image: raptorbox/broker:v5
ports:
- 1883:1883
- 8880:8880
depends_on:
- mongo
environment:
DEBUG: r*
LOG_LEVEL: debug
networks:
- raptor_test
logging:
driver: json-file
options:
max-size: 1024m
extra_hosts:
- "raptor.local:172.16.238.1"
auth:
image: raptorbox/auth:v5
ports:
- 10094:10094
depends_on:
- mongo
- redis
environment:
DEBUG: r*
LOG_LEVEL: debug
networks:
- raptor_test
logging:
driver: json-file
options:
max-size: 1024m
extra_hosts:
- "raptor.local:172.16.238.1"
app:
image: raptorbox/app:v5
ports:
- 10095:10095
depends_on:
- mongo
- redis
environment:
DEBUG: r*
LOG_LEVEL: debug
networks:
- raptor_test
logging:
driver: json-file
options:
max-size: 1024m
extra_hosts:
- "raptor.local:172.16.238.1"
mongoadmin:
image: adicom/admin-mongo
# environment:
restart: always
# volumes:
links:
- mongo
networks:
- raptor_test
ports:
- 8082:1234
mongo:
image: mongo:3
volumes:
- ./data/mongodb:/data/db
command: --smallfiles --setParameter failIndexKeyTooLong=false
networks:
- raptor_test
ports:
- 27017:27017
redis:
image: redis
networks:
- raptor_test
ports:
- 6379:6379
apigateway:
image: nginx
volumes:
- ./config/nginx.standalone.test.conf:/etc/nginx/conf.d/default.conf
ports:
- 80:80
command: nginx -g 'daemon off;'
networks:
- raptor_test