Skip to content

Commit

Permalink
Consifure bindining in loco config not CLI arg
Browse files Browse the repository at this point in the history
  • Loading branch information
felipesere committed Oct 20, 2024
1 parent f8b20fb commit 2cbb2a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ logger:
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 UI hostname or IP address that mailers will point to.
host: http://0.0.0.0
# Out of the box middleware configuration. to disable middleware you can changed the `enable` field to `false` of comment the middleware block
Expand Down
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ kill_signal = 'SIGINT'
kill_timeout = '5s'

[experimental]
entrypoint = ['/usr/app/foody-cli', 'start', '--binding', '0.0.0.0']
entrypoint = ['/usr/app/foody-cli', 'start']

[env]
LOCO_ENV = 'production'
Expand Down

0 comments on commit 2cbb2a2

Please sign in to comment.