You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to configure host address for server in Docker environment?
Description
I'm trying to run srcbook in a Docker container, but I can't access it from outside the container. The server seems to listen only on localhost by default, even with proper port mapping in Docker.
Current Setup
Running srcbook in a Docker container
Using npx srcbook@latest start
Port mapped correctly in docker-compose
Server starts but only accessible inside container
Question
Is there a way to configure the server to listen on 0.0.0.0 instead of localhost? I couldn't find this option in the documentation.
Environment
srcbook version: 0.0.15
Running in Docker container
The text was updated successfully, but these errors were encountered:
How to configure host address for server in Docker environment?
Description
I'm trying to run srcbook in a Docker container, but I can't access it from outside the container. The server seems to listen only on localhost by default, even with proper port mapping in Docker.
Current Setup
npx srcbook@latest start
Question
Is there a way to configure the server to listen on 0.0.0.0 instead of localhost? I couldn't find this option in the documentation.
Environment
The text was updated successfully, but these errors were encountered: