This repository has been archived by the owner on Mar 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
146 lines (140 loc) · 3.68 KB
/
docker-compose.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
version: '3'
services:
couchdb:
image: "apache/couchdb:1.7.1"
expose:
- "5984"
ports:
- 5984:5984
database_setup:
image: "obiora/ragios:v0.7.2.2"
links:
- couchdb:couchdb
environment:
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
tty: true
stdin_open: true
entrypoint: bundle exec ruby bin/database_setup.rb
web:
image: "obiora/ragios:v0.7.2.2"
depends_on:
- database_setup
links:
- couchdb:couchdb
- recurring_jobs:recurring_jobs
- events:events
environment:
RAGIOS_RECURRING_JOBS_RECEIVER_ADDRESS: recurring_jobs
RAGIOS_EVENTS_RECEIVER_ADDRESS: events
RAGIOS_WEB_SERVER_ADDRESS: 'tcp://0.0.0.0:5041'
RAGIOS_WEB_SERVER_ENV: production
RAGIOS_ENV: production
RAGIOS_LOG_LEVEL: info
SES_AWS_ACCESS_KEY_ID:
SES_AWS_SECRET_ACCESS_KEY:
AWS_SES_SEND_FROM:
AWS_SES_ENDPOINT:
RAGIOS_ADMIN_USERNAME:
RAGIOS_ADMIN_PASSWORD:
RAGIOS_AUTHENTICATION:
RAGIOS_AUTH_TIMEOUT:
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
expose:
- "5041"
ports:
- "5041:5041"
tty: true
stdin_open: true
entrypoint: bundle exec pumactl -F server.rb start
recurring_jobs:
image: "obiora/ragios:v0.7.2.2"
depends_on:
- database_setup
links:
- couchdb:couchdb
- events:events
environment:
RAGIOS_RECURRING_JOBS_RECEIVER_ADDRESS: '0.0.0.0'
RAGIOS_EVENTS_RECEIVER_ADDRESS: events
RAGIOS_WORKERS_PUSHER_ADDRESS: '0.0.0.0'
RAGIOS_ENV: production
RAGIOS_LOG_LEVEL: info
SES_AWS_ACCESS_KEY_ID:
SES_AWS_SECRET_ACCESS_KEY:
AWS_SES_SEND_FROM:
AWS_SES_ENDPOINT:
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
expose:
- "5042"
- "5043"
tty: true
stdin_open: true
entrypoint: bundle exec ruby bin/recurring_jobs_ctl.rb run
workers:
image: "obiora/ragios:v0.7.2.2"
depends_on:
- database_setup
links:
- couchdb:couchdb
- events:events
- recurring_jobs:recurring_jobs
- notifications:notifications
environment:
RAGIOS_RECURRING_JOBS_RECEIVER_ADDRESS: recurring_jobs
RAGIOS_EVENTS_RECEIVER_ADDRESS: events
RAGIOS_WORKERS_PUSHER_ADDRESS: recurring_jobs
RAGIOS_NOTIFICATIONS_RECEIVER_ADDRESS: notifications
RAGIOS_ENV: production
RAGIOS_LOG_LEVEL: info
SES_AWS_ACCESS_KEY_ID:
SES_AWS_SECRET_ACCESS_KEY:
AWS_SES_SEND_FROM:
AWS_SES_ENDPOINT:
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
tty: true
stdin_open: true
entrypoint: bundle exec ruby bin/workers_ctl.rb run
events:
image: "obiora/ragios:v0.7.2.2"
depends_on:
- database_setup
links:
- couchdb:couchdb
environment:
RAGIOS_EVENTS_RECEIVER_ADDRESS: '0.0.0.0'
RAGIOS_ENV: production
RAGIOS_LOG_LEVEL: info
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
expose:
- "5045"
tty: true
stdin_open: true
entrypoint: bundle exec ruby bin/events_ctl.rb run
notifications:
image: "obiora/ragios:v0.7.2.2"
depends_on:
- database_setup
links:
- couchdb:couchdb
- events:events
environment:
RAGIOS_NOTIFICATIONS_RECEIVER_ADDRESS: '0.0.0.0'
RAGIOS_EVENTS_RECEIVER_ADDRESS: events
RAGIOS_ENV: production
RAGIOS_LOG_LEVEL: info
SES_AWS_ACCESS_KEY_ID:
SES_AWS_SECRET_ACCESS_KEY:
AWS_SES_SEND_FROM:
AWS_SES_ENDPOINT:
COUCHDB_ADMIN_USERNAME:
COUCHDB_ADMIN_PASSWORD:
expose:
- "5044"
tty: true
stdin_open: true
entrypoint: bundle exec ruby bin/notifications_ctl.rb run