-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcircus-dev.ini
44 lines (39 loc) · 1.13 KB
/
circus-dev.ini
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
[circus]
check_delay = 5
endpoint = tcp://127.0.0.1:5555
pubsub_endpoint = tcp://127.0.0.1:5556
[watcher:grpc]
cmd = python3
args = -m service.annotation_server
warmup_delay = 0
numprocesses = 1
working_dir = $(circus.env.working_dir)
stdout_stream.class = StdoutStream
stderr_stream.class = StdoutStream
copy_env = true
autostart = true
priority = 1
[watcher:webserver]
cmd = gunicorn
args = -b $(circus.env.web) webserver.server:app
warmup_delay = 0
numprocesses = 1
autostart = true
working_dir = $(circus.env.working_dir)
copy_env = true
stdout_stream.class = StdoutStream
stderr_stream.class = StdoutStream
priority = 3
[watcher:grpc_proxy]
cmd = grpcwebproxy
args = --backend_addr=127.0.0.1:3000 --server_http_debug_port=3001 --run_tls_server=false --backend_tls=false --server_http_max_read_timeout="1h" --server_http_max_write_timeout="1h" --allow_all_origins --backend_max_call_recv_msg_size=314572800
warmup_delay = 0
numprocesses = 1
working_dir = $(circus.env.working_dir)
stdout_stream.class = StdoutStream
stderr_stream.class = StdoutStream
copy_env = true
priority = 4
[env]
working_dir = /root/annotation_service
web = 0.0.0.0:3002