The council may appoint a city clerk, who may also serve as the city treasurer, with such compensation as shall be determined by the council. The city clerk shall keep the minutes of the proceedings of the city council, maintain in a safe place all records and documents pertaining to the affairs of the city, and perform such other duties as may be required by law or as the council may direct.