luckyframework / lucky

A full-featured Crystal web framework that catches bugs for you, runs incredibly fast, and helps you write code that lasts.
https://luckyframework.org
MIT License
2.57k stars 156 forks source link

Allow for overriding the local host #1787

Closed jwoertink closed 1 year ago

jwoertink commented 1 year ago

Right now your local host is set by the config/watch.yml file. We have a way to override the port by setting DEV_PORT which supersedes the water port, but we don't have a way to override the host.

One example you may want to do this is having your local server set to 127.0.0.1, but then booting it in docker on 0.0.0.0