allow to customize Docker port per ship, refactoring