Gitea upgrade from 1.16.7 to 1.17: with custom gitconfig

This was a consultation held on the Gitea general chatroom:

Current installation is running from the following docker-compose configuration on 20.10.12 with a single user with a custom gitconfig located ./gitea/git/.gitconfig.

  gitea:
    image: gitea/gitea:1.16.7
    container_name: gitea
    environment:
      - USER_UID=107 # user id des zuvor erstellten Benutzers
      - USER_GID=115 # group id des zuvor erstellten Benutzers
    restart: always
    networks:
      - database_db-network
      - network_nginx-network
    volumes:
      - ./gitea:/data
      - /home/git/.ssh:/data/git/.ssh
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro

Recommendations: