Revert "Setup config for deploying both worker and web (#362)"

This reverts commit 7c5b869bce.
This commit is contained in:
Max Wofford
2025-06-25 15:03:29 -04:00
parent 7c5b869bce
commit 0982ca2588
5 changed files with 3 additions and 47 deletions

View File

@@ -1,18 +0,0 @@
#!/bin/bash -e
# Start the appropriate process based on PROCESS_TYPE environment variable
case "$PROCESS_TYPE" in
web)
echo "Starting web server..."
exec ./bin/thrust ./bin/rails server -b 0.0.0.0 -p ${PORT:-80}
;;
worker)
echo "Starting GoodJob worker..."
exec bundle exec good_job start
;;
*)
echo "Unknown PROCESS_TYPE: $PROCESS_TYPE"
echo "Valid options: web, worker"
exit 1
;;
esac