Spaces:
Sleeping
Sleeping
AnkitS1997
commited on
Commit
•
94673bc
1
Parent(s):
ce47c87
changed permissions
Browse files
.ipynb_checkpoints/supervisord-checkpoint.conf
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[supervisord]
|
2 |
+
nodaemon=true
|
3 |
+
|
4 |
+
[program:fastapi]
|
5 |
+
command=uvicorn app:app --host 0.0.0.0 --port 8501
|
6 |
+
directory=/app
|
7 |
+
autostart=true
|
8 |
+
autorestart=true
|
9 |
+
stderr_logfile=/var/log/fastapi.err.log
|
10 |
+
stdout_logfile=/var/log/fastapi.out.log
|
11 |
+
|
12 |
+
[program:streamlit]
|
13 |
+
command=streamlit run streamlit_app.py --server.port=8502 --server.address=0.0.0.0
|
14 |
+
directory=/app
|
15 |
+
autostart=true
|
16 |
+
autorestart=true
|
17 |
+
stderr_logfile=/var/log/streamlit.err.log
|
18 |
+
stdout_logfile=/var/log/streamlit.out.log
|
supervisord.conf
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
[supervisord]
|
2 |
nodaemon=true
|
3 |
-
user=root
|
4 |
|
5 |
[program:fastapi]
|
6 |
command=uvicorn app:app --host 0.0.0.0 --port 8501
|
|
|
1 |
[supervisord]
|
2 |
nodaemon=true
|
|
|
3 |
|
4 |
[program:fastapi]
|
5 |
command=uvicorn app:app --host 0.0.0.0 --port 8501
|