-
Notifications
You must be signed in to change notification settings - Fork 2
/
circus.ini
54 lines (49 loc) · 1.67 KB
/
circus.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
45
46
47
48
49
50
51
52
53
54
[circus]
logoutput = /var/log/praisee/circus.log
[watcher:server]
cmd = node pz-server/build/src/index
working_dir = /var/praisee
uid = praisee
gid = praisee
singleton = True
max_retry = 5
stop_children = True
stdout_stream.class = FileStream
stdout_stream.filename = /var/log/praisee/server.log
stdout_stream.max_bytes = 1073741824
stderr_stream.class = FileStream
stderr_stream.filename = /var/log/praisee/server.log
stderr_stream.max_bytes = 1073741824
[env:server]
PORT = 8080
[watcher:rankingsWorker]
cmd = node pz-server/build/src/rankings/worker-app/start-worker-app
working_dir = /var/praisee
uid = praisee
gid = praisee
numprocesses = 7
max_retry = 5
stop_children = True
stdout_stream.class = FileStream
stdout_stream.filename = /var/log/praisee/rankings-worker.log
stdout_stream.max_bytes = 1073741824
stderr_stream.class = FileStream
stderr_stream.filename = /var/log/praisee/rankings-worker.log
stderr_stream.max_bytes = 1073741824
[watcher:photoServer]
cmd = thumbor -c "/var/praisee/pz-server/src/photos/photo-server/thumbor.prod.conf" -k "/var/praisee/pz-server/src/photos/photo-server/security.prod.key"
working_dir = /var/praisee
uid = praisee
gid = praisee
singleton = True
max_retry = 5
stop_children = True
stdout_stream.class = FileStream
stdout_stream.filename = /var/log/praisee/photo-server.log
stdout_stream.max_bytes = 1073741824
stderr_stream.class = FileStream
stderr_stream.filename = /var/log/praisee/photo-server.log
stderr_stream.max_bytes = 1073741824
[env]
PATH = /home/praisee/.pyenv/shims:/home/praisee/.pyenv/bin:/home/praisee/.nvm/versions/node/v6.6.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
NODE_ENV = production