Spaces:
Building
Building
hatimanees
commited on
Commit
•
3d8399f
1
Parent(s):
d373753
Create supervisor.conf
Browse files- supervisor.conf +16 -0
supervisor.conf
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[supervisord]
|
2 |
+
nodaemon=true
|
3 |
+
|
4 |
+
[program:flask]
|
5 |
+
command=python run.py
|
6 |
+
autostart=true
|
7 |
+
autorestart=true
|
8 |
+
stderr_logfile=/var/log/flask.err.log
|
9 |
+
stdout_logfile=/var/log/flask.out.log
|
10 |
+
|
11 |
+
[program:streamlit]
|
12 |
+
command=streamlit run app.py --server.port=8501 --server.enableCORS=false
|
13 |
+
autostart=true
|
14 |
+
autorestart=true
|
15 |
+
stderr_logfile=/var/log/streamlit.err.log
|
16 |
+
stdout_logfile=/var/log/streamlit.out.log
|