forked from platypush/platypush
Remove legacy references to the websocket HTTP port and backend in platydock.
This commit is contained in:
parent
f5fcccb0bd
commit
3fc622e296
1 changed files with 0 additions and 16 deletions
|
@ -251,26 +251,10 @@ def build(args):
|
|||
|
||||
# noinspection PyProtectedMember
|
||||
ports.add(backend_config['http'].get('port', HttpBackend._DEFAULT_HTTP_PORT))
|
||||
# noinspection PyProtectedMember
|
||||
ports.add(
|
||||
backend_config['http'].get(
|
||||
'websocket_port', HttpBackend._DEFAULT_WEBSOCKET_PORT
|
||||
)
|
||||
)
|
||||
|
||||
if backend_config.get('tcp'):
|
||||
ports.add(backend_config['tcp']['port'])
|
||||
|
||||
if backend_config.get('websocket'):
|
||||
from platypush.backend.websocket import WebsocketBackend
|
||||
|
||||
# noinspection PyProtectedMember
|
||||
ports.add(
|
||||
backend_config['websocket'].get(
|
||||
'port', WebsocketBackend._default_websocket_port
|
||||
)
|
||||
)
|
||||
|
||||
dev_dir = os.path.join(workdir, Config.get('device_id'))
|
||||
generate_dockerfile(
|
||||
deps=dict(install_cmds),
|
||||
|
|
Loading…
Reference in a new issue