Spaces:
Runtime error
Runtime error
Create supervisord.conf
Browse files- supervisord.conf +16 -0
supervisord.conf
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[supervisord]
|
2 |
+
nodaemon=true
|
3 |
+
|
4 |
+
[program:app]
|
5 |
+
command=uvicorn app:app --host 0.0.0.0 --port 7860
|
6 |
+
autostart=true
|
7 |
+
autorestart=true
|
8 |
+
stdout_logfile=/var/log/app.log
|
9 |
+
stderr_logfile=/var/log/app.err.log
|
10 |
+
|
11 |
+
[program:openvscode]
|
12 |
+
command=/opt/openvscode-server/bin/openvscode-server --host 0.0.0.0 --port 3000
|
13 |
+
autostart=true
|
14 |
+
autorestart=true
|
15 |
+
stdout_logfile=/var/log/openvscode.log
|
16 |
+
stderr_logfile=/var/log/openvscode.err.log
|