The corporate authorities of each municipality may fix the rate of wharfage and dockage.