Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bedman's avatar

Connect remote server with SSH to localhost

I try to connect my remote server (Docker) to my Localhost with SSH and afterward could call localhost Laravel Command with SSH to the Docker || i've try several methods , but i dont really know how to do it || is there someone can help me or give the tutorial link ? in short its [Connect docker + Laravel to my localhost database or server database]

0 likes
3 replies
bedman's avatar

@Tray2 Sorry, my bad.

  1. i have 2 databases ( Alpha & Beta ) & Airflow with different port in docker ( Total 3 things in dokcer )
  2. on the other side, i do install Laravel on my D:
  3. Next, i configure Alpha & Beta database connection on database.php Laravel
  4. Then i do ETL on both databases with Laravel PHP (artisan command - eloquent ) and its finish. The name of the command is "php artisan factCust"
  5. Next, i want to make scheduler with airflow ( which is installed at docker ) for "php artisan factCust". If im not mistaken, its like Laravel Scheduler/Envoy

The one that i ask for help is Number 5

bedman's avatar

@Tray2 thank you for the link but my account not upgraded yet, i cant watch the video. I still a student now and i cant really afford it

Please or to participate in this conversation.