mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
Support worker in dokcer build
This commit is contained in:
@@ -1,11 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Run migrations and start uvicorn
|
||||
/init_back &
|
||||
|
||||
|
||||
# Start nginx
|
||||
/init_front &
|
||||
|
||||
|
||||
# Start rq worker
|
||||
/init_worker &
|
||||
|
||||
# Wait for any process to exit
|
||||
wait -n
|
||||
|
||||
|
||||
# Exit with status of process that exited first
|
||||
exit $?
|
||||
|
||||
Reference in New Issue
Block a user