mod - fig/service.py, made a function for port_bindings