threatnote
threatnote copied to clipboard
'localhost:5000' doesn't match configured server name 'local.docker:5000'
threatnote_1 | /usr/local/lib/python3.8/site-packages/flask/app.py:2171: UserWarning: Current server name 'localhost:5000' doesn't match configured server name 'local.docker:5000' threatnote_1 | return self.url_map.bind_to_environ( threatnote_1 | /usr/local/lib/python3.8/site-packages/flask/app.py:2171: UserWarning: Current server name 'localhost:5000' doesn't match configured server name 'local.docker:5000' threatnote_1 | return self.url_map.bind_to_environ(
i am also having this issue
Same Issue.
Same Issue.
i changed the app.config['SERVER_NAME'] = 'sth.mydomain.xx' in the config.py and then i rebuilt the docker. As a workaround
Just add an entry to your /etc/hosts
(Linux/Mac):
127.0.0.1 local.docker