Spaces:
Paused
Paused
Create supervisord.conf
Browse files- supervisord.conf +28 -0
supervisord.conf
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[supervisord]
|
| 2 |
+
nodaemon=true
|
| 3 |
+
user=root
|
| 4 |
+
|
| 5 |
+
# تشغيل واجهة مشروع رفع الملفات
|
| 6 |
+
[program:tgstorage]
|
| 7 |
+
command=uvicorn tgstorage.api:api --host 0.0.0.0 --port 7860
|
| 8 |
+
directory=/app
|
| 9 |
+
autorestart=true
|
| 10 |
+
|
| 11 |
+
# تشغيل خدمة الاتصال الآمن SSH
|
| 12 |
+
[program:sshd]
|
| 13 |
+
command=/usr/sbin/sshd -D
|
| 14 |
+
autorestart=true
|
| 15 |
+
|
| 16 |
+
# تشغيل خدمات سطح المكتب البعيد
|
| 17 |
+
[program:xrdp-sesman]
|
| 18 |
+
command=/usr/sbin/xrdp-sesman --nodaemon
|
| 19 |
+
autorestart=true
|
| 20 |
+
|
| 21 |
+
[program:xrdp]
|
| 22 |
+
command=/usr/sbin/xrdp --nodaemon
|
| 23 |
+
autorestart=true
|
| 24 |
+
|
| 25 |
+
# فتح النفق باستخدام مفتاح Ngrok المدمج
|
| 26 |
+
[program:ngrok]
|
| 27 |
+
command=sh -c "ngrok tcp 3389 --authtoken %(ENV_NGROK_AUTHTOKEN)s --log stdout"
|
| 28 |
+
autorestart=true
|