Issue during a gitlab registry configuration

Hello every one,

i’m trying to configure gitlab registry on my gitlab (i used the container gitlab/gitlab-ce) but i didn’t reach that, those are my configurations:
my docker-compose file for gitlab*
version: ‘3’
services:
gitlab:
image: ‘gitlab/gitlab-ce:latest’
container_name: ‘gitlab-ce’
restart: always
hostname: ‘gitlab.me
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url ‘https://gitlab.me:443
ports:
- ‘80:80’
- ‘443:443’
- ‘22:22’
- ‘5005:5005’
volumes:
- ‘/srv/gitlab/config:/etc/gitlab’
- ‘/srv/gitlab/logs:/var/log/gitlab’
- ‘/srv/gitlab/data:/var/opt/gitlab’

***********adding certificat on docker

add the cert in trusted docker certs in this location:
/etc/docker/certs.d/gitlab:5005/ca.crt

edit gitlab.rb***
add in gitlab.rb :
external_url “https://gitlab.me:443
registry_external_url “https://gitlab.me:5005

*******configure /etc/hosts to add gitlab.me

then i access to my gitlab container in order to apply my edited configuration on gitlab.rb but when i do : gitlab-ctl reconfigure this is what a see as an error:

Running handlers:
There was an error running gitlab-ctl reconfigure:

letsencrypt_certificate[gitlab.me] (letsencrypt::http_authorization line 5) had an error: RuntimeError: acme_certificate[staging] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/letsencrypt/resources/certificate.rb line 25) had an error: RuntimeError: ruby_block[create certificate for gitlab.me] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/acme/resources/certificate.rb line 108) had an error: RuntimeError: [gitlab.me] Validation failed, unable to request certificate

Running handlers complete
Chef Client failed. 14 resources updated in 02 minutes 52 seconds