Skip to content

Commit

Permalink
server default host and port value has been assigned for docker serve…
Browse files Browse the repository at this point in the history
…r.php
  • Loading branch information
diloabininyeri committed Jan 31, 2024
1 parent 548972c commit a4c104f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker_server.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ public function run(): void


$socketServer = new SocketServer(Handler::class);
$socketServer->serve($_ENV['HOST'],$_ENV['PORT']);
$socketServer->serve(
$_ENV['HOST'] ?? '0.0.0.0',
$_ENV['PORT'] ?? 8080
);

0 comments on commit a4c104f

Please sign in to comment.