Spaces:
Paused
Paused
Create entrypoint.sh
Browse files- entrypoint.sh +7 -0
entrypoint.sh
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Tạo các thư mục cần thiết với đúng quyền
|
| 3 |
+
mkdir -p /tmp/supervisor
|
| 4 |
+
chown -R 1000:1000 /tmp/supervisor
|
| 5 |
+
|
| 6 |
+
# Khởi động Supervisor
|
| 7 |
+
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
|