Skip to content

💡[Enhancement]: make Docusaurus bind to all interfaces for cross-platform Docker #721

@sheikhlimon

Description

@sheikhlimon

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

Problem

Running the project via Docker works on some platforms (Windows, macOS), but on Linux hosts the site is inaccessible from the browser because Docusaurus defaults to binding to localhost inside the container.

Proposed Solution

Update docker-compose.yml so that the Docusaurus development server binds to all interfaces:

command: npm run dev -- --host 0.0.0.0

Use Case

Docusaurus development server binds to 0.0.0.0, ensuring it is accessible on Linux, Windows, and macOS hosts.

Benefits

No response

Add ScreenShots

Image

Priority

Low

Record

  • I have read the Contributing Guidelines
  • Are you a GSSOC'25 contributor
  • I want to work on this issue

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions