forked from DreamLab-AI/origin-logseq-AR
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathsupervisord.production.conf
More file actions
41 lines (36 loc) · 1.05 KB
/
supervisord.production.conf
File metadata and controls
41 lines (36 loc) · 1.05 KB
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
[supervisord]
nodaemon=true
user=root
logfile=/app/logs/supervisord.log
pidfile=/var/run/supervisord.pid
childlogdir=/app/logs
[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:nginx]
command=nginx -g "daemon off;"
priority=10
stdout_logfile=/app/logs/nginx_stdout.log
stderr_logfile=/app/logs/nginx_stderr.log
stdout_logfile_maxbytes=10MB
stderr_logfile_maxbytes=10MB
autorestart=true
startretries=3
[program:rust-backend]
command=/app/target/release/webxr --port 4001 --gpu-debug
priority=20
directory=/app
environment=RUST_LOG="%(ENV_RUST_LOG)s",RUST_BACKTRACE="1",NVIDIA_VISIBLE_DEVICES="%(ENV_NVIDIA_VISIBLE_DEVICES)s",NVIDIA_DRIVER_CAPABILITIES="compute,utility"
stdout_logfile=/app/logs/rust_stdout.log
stderr_logfile=/app/logs/rust_stderr.log
stdout_logfile_maxbytes=10MB
stderr_logfile_maxbytes=10MB
autorestart=true
startretries=5
startsecs=10
stopasgroup=true
killasgroup=true