Skip to content

Commit

Permalink
Updated dusk and dusk:fails to use APP_SERVICE for APP_URL. (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhaynes authored Aug 17, 2021
1 parent 3543d95 commit 4439c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/sail
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ if [ $# -gt 0 ]; then
if [ "$EXEC" == "yes" ]; then
docker-compose exec \
-u sail \
-e "APP_URL=http://laravel.test" \
-e "APP_URL=http://${APP_SERVICE}" \
-e "DUSK_DRIVER_URL=http://selenium:4444/wd/hub" \
"$APP_SERVICE" \
php artisan dusk "$@"
Expand All @@ -167,7 +167,7 @@ if [ $# -gt 0 ]; then
if [ "$EXEC" == "yes" ]; then
docker-compose exec \
-u sail \
-e "APP_URL=http://laravel.test" \
-e "APP_URL=http://${APP_SERVICE}" \
-e "DUSK_DRIVER_URL=http://selenium:4444/wd/hub" \
"$APP_SERVICE" \
php artisan dusk:fails "$@"
Expand Down

0 comments on commit 4439c7d

Please sign in to comment.