Auto-translated
It's strange, it still doesn't work somehow. Never mind, I'll deal with this problem later; in the worst case, I'll place the shipyard outside.
1) Find the coordinates of the city (x, y)
2) Find the coordinates where you want the ship to appear (x, y)
3) Enter the coordinates (x, y) into the Ship Tile using the following example:
City -(33, 81)
Ship coordinates -(34, 71)
We look at the difference -(1, -10)
4) Profit
*P.S. Important note: in the Map Editor, if you initially build water and a dock and then try to automatically place a city nearby, the Tile (it will be highlighted in green) will be displayed, showing where the ships from the shipyard will appear.