Docker deploys gitlab service ssh push

  docker, question

With the service deployed by docker-compose, the web page opens normally and the public key has been added to the settings.
How to push all prompt permissions error. . .

version: "3"
 services:
 gitlab:
 image: gitlab/gitlab-ce
 container_name: gitlab
 restart: always
 hostname: '129.211.1.18'
 environment:
 TZ: 'Asia/Shanghai'
 GITLAB_OMNIBUS_CONFIG: |
 external_url "http://129.211.1.18:9090"
 gitlab_rails['time_zone'] = 'Asia/Shanghai'
 unicorn['worker_timeout'] = 60
 unicorn['worker_processes'] = 2
 gitlab_rails['gitlab_shell_ssh_port'] = 2222
 ports:
 - '9090:9090'
 - '2222:22'
 volumes:
 - '/home/gitlab/config:/etc/gitlab'
 - '/home/gitlab/logs:/var/log/gitlab'
 - '/home/gitlab/data:/var/opt/gitlab/git-data'

Ask yourself and answer yourself: push prefix does not have ssh://, which leads to https, so it doesn’t work. . .