forked from paytaca/watchtower-cash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
supervisord.conf
205 lines (162 loc) · 5.8 KB
/
supervisord.conf
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
[supervisord]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[unix_http_server]
file=/var/run/supervisor.sock
chmod=0700
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock
[program:webserver]
command = daphne -p 8000 -b 0.0.0.0 -t 300 watchtower.asgi:application
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_client_acknowledgement]
command = celery -A watchtower worker -n worker1 -l INFO -Ofair -Q client_acknowledgement --autoscale=1,8 --max-tasks-per-child=100
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program: celery_send_telegram_message]
command = celery -A watchtower worker -n worker2 -l INFO -c 1 -Ofair -Q send_telegram_message --max-tasks-per-child=10
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program: celery_send_slack_message]
command = celery -A watchtower worker -n worker3 -l INFO -c 1 -Ofair -Q send_slack_message --max-tasks-per-child=10
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:slpstream_fountainhead]
directory = /code
command = python manage.py slpstream_fountainhead
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:bitsocket]
directory = /code
command = python manage.py bitsocket
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:bchd_grpc_stream]
directory = /code
command = python manage.py bchd_grpc_stream
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_worker_beat]
command = celery -A watchtower beat
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_transaction_filter]
command = celery -A watchtower worker -n worker4 -l INFO -Ofair -Q transaction_filter --autoscale=1,8 --max-tasks-per-child=100
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_save_record]
command = celery -A watchtower worker -n worker5 -l INFO -Ofair -Q save_record --max-tasks-per-child=100 --autoscale=1,8
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_post_save_record]
command = celery -A watchtower worker -n worker6 -l INFO -Ofair -Q post_save_record --max-tasks-per-child=100 --autoscale=1,4
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_bitdbquery]
command = celery -A watchtower worker -n worker7 -l INFO -c 1 -Ofair -Q bitdbquery --max-tasks-per-child=100
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_get_latest_block]
command = celery -A watchtower worker -n worker8 -n worker1 -l INFO -c 1 -Ofair -Q get_latest_block --max-tasks-per-child=1
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_manage_block_transactions]
command = celery -A watchtower worker -n worker9 -l INFO -c 1 -Ofair -Q manage_block_transactions --max-tasks-per-child=1
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_get_block_transactions]
command = celery -A watchtower worker -n worker10 -l INFO -c 1 -Ofair -Q get_block_transactions --max-tasks-per-child=1
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_review_block]
command= celery -A watchtower worker -n worker11 -l INFO -c 1 -Ofair -Q review_block --max-tasks-per-child=10
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_slpdbquery]
command= celery -A watchtower worker -n worker12 -l INFO -c 1 -Ofair -Q slpdbquery --max-tasks-per-child=10
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_slpdbquery_transactions]
command= celery -A watchtower worker -n worker13 -l INFO -Ofair -Q slpdbquery_transactions --max-tasks-per-child=10 --autoscale=1,8
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_bitdbquery_transactions]
command = celery -A watchtower worker -n worker14 -l INFO -Ofair -Q bitdbquery_transactions --max-tasks-per-child=100 --autoscale=1,8
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_get_utxos]
command = celery -A watchtower worker -n worker15 -l INFO -Ofair -Q get_utxos --max-tasks-per-child=100
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true
[program:celery_token_metadata_and_txn_broadcast]
command = celery -A watchtower worker -n worker16 -l INFO -Ofair -Q token_metadata,broadcast --max-tasks-per-child=100
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
stopasgroup = true