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
# Port on which the server will listen. the server binding is 0.0.0.0:{PORT}
it's saying the http server will bind to 0.0.0.0 by default, instead it binds to localhost. This causes the application not to be exposed in containerized environments.
Expected Behavior
The server should bind on 0.0.0.0 by default, as the comment suggests. Or the binding configuration should be added to the configuration template so it's clearer; the comment should also be updated in this case.
It might be better to go for the first option since this can be a tricky issue to debug.
Environment:
It can be fixed by adding the following in the config.
server:
# Port on which the server will listen. the server binding is 0.0.0.0:{PORT}
port: 5150
binding: 0.0.0.0
The text was updated successfully, but these errors were encountered:
Description
The default config contains a slight issue:
loco/starters/saas/config/development.yaml
Line 19 in 481e1d0
it's saying the http server will bind to
0.0.0.0
by default, instead it binds tolocalhost
. This causes the application not to be exposed in containerized environments.Expected Behavior
The server should bind on
0.0.0.0
by default, as the comment suggests. Or the binding configuration should be added to the configuration template so it's clearer; the comment should also be updated in this case.It might be better to go for the first option since this can be a tricky issue to debug.
Environment:
It can be fixed by adding the following in the config.
The text was updated successfully, but these errors were encountered: