Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
smortexa authored Jan 31, 2025
1 parent 007ad74 commit 6f93cc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deployment/start-container
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ container_mode=${CONTAINER_MODE:-"http"}
octane_server=${OCTANE_SERVER}
running_migrations_and_seeders=${RUNNING_MIGRATIONS_AND_SEEDERS:-"false"}

echo "Container mode: $container_mode"

initialStuff() {
echo "Container mode: $container_mode"

php artisan storage:link; \
php artisan optimize:clear; \
php artisan optimize;
Expand All @@ -21,8 +21,8 @@ initialStuff() {
if [ "$1" != "" ]; then
exec "$@"
elif [ "${container_mode}" = "http" ]; then
echo "Octane Server: $octane_server"
initialStuff
echo "Octane Server: $octane_server"
if [ "${octane_server}" = "frankenphp" ]; then
exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.frankenphp.conf
elif [ "${octane_server}" = "swoole" ]; then
Expand Down

0 comments on commit 6f93cc2

Please sign in to comment.