mn9206986 commited on
Commit
b92b9e8
·
verified ·
1 Parent(s): 30c6910

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. 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