I have a little problem with my fresh Gitea installation. I set it up on my server in the LAN, using docker compose and using following yaml file:
version: "2" networks: gitea: external: false services: server: image: gitea/gitea:1 environment: - USER_UID=1000 - USER_GID=1000 - DB_TYPE=postgres - DB_HOST=db:5432 - DB_NAME=gitea - DB_USER=giteauser - DB_PASSWD=password restart: always networks: - gitea volumes: - ./gitea:/data - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: - "3000:3000" - "222:22" depends_on: - db db: image: postgres:12 restart: always environment: - POSTGRES_USER=giteauser - POSTGRES_PASSWORD=password - POSTGRES_DB=gitea networks: - gitea volumes: - ./postgres:/var/lib/postgresql/data
After that I set up an account with the corresponding RSA key so I can push, pull, clone, etc. without having to use a password. Sadly now that I try to clone my first repository, I’m asked for a password. Does anyone have a clue why this happens or how I could approach this problem?
(FYI: I added the same RSA key to my GitHub account and tried to clone a repository from there. This worked, so I guess I messed up the Gitea setup but what did I do wrong?)
email@example.com:222/St0rmhunter/FreezerApp.git Cloning into 'FreezerApp'... firstname.lastname@example.org's password:
Thanks in advance for your help