Failed to obtain a certificate from the Let's Encrypt (New to Docker and Jitsi)

I am new to both Jitsi and Docker I am trying to get Jitsi working locally with help of Docker-compose
I followed this

and tried to apply it to docker-compose
This is the content of my docker-compose.yml file

  jitsi:
  image: jitsi/web:latest
  restart: '${JITSI_RESTART_POLICY}'
  ports:
    - '${HTTP_PORT}:8000'
    - '${HTTPS_PORT}:8443'
  volumes:
    - ${JITSI_CONFIG}/web:/config:Z
    - ${JITSI_CONFIG}/web/letsencrypt:/etc/letsencrypt:Z
    - ${JITSI_CONFIG}/transcripts:/usr/share/jitsi-meet/transcripts:Z
  environment:
    - HTTP_PORT=8000
    - ENABLE_LETSENCRYPT=1
    - ENABLE_HTTP_REDIRECT
    - ENABLE_HSTS
    - ENABLE_XMPP_WEBSOCKET
    - DISABLE_HTTPS
    - LETSENCRYPT_DOMAIN
    - LETSENCRYPT_EMAIL=siavash@fooba.com
    - LETSENCRYPT_USE_STAGING
    - PUBLIC_URL
    - TZ=Europe/London
    - DOCKER_HOST_ADDRESS=192.168.1.1
    - AMPLITUDE_ID
    - ANALYTICS_SCRIPT_URLS
    - ANALYTICS_WHITELISTED_EVENTS
    - BRIDGE_CHANNEL
    - BRANDING_DATA_URL
    - CALLSTATS_CUSTOM_SCRIPT_URL
    - CALLSTATS_ID
    - CALLSTATS_SECRET
    - CHROME_EXTENSION_BANNER_JSON
    - CONFCODE_URL
    - CONFIG_EXTERNAL_CONNECT
    - DEPLOYMENTINFO_ENVIRONMENT
    - DEPLOYMENTINFO_ENVIRONMENT_TYPE
    - DEPLOYMENTINFO_USERREGION
    - DIALIN_NUMBERS_URL
    - DIALOUT_AUTH_URL
    - DIALOUT_CODES_URL
    - DROPBOX_APPKEY
    - DROPBOX_REDIRECT_URI
    - ENABLE_AUDIO_PROCESSING
    - ENABLE_AUTH=1
    - ENABLE_CALENDAR
    - ENABLE_FILE_RECORDING_SERVICE
    - ENABLE_FILE_RECORDING_SERVICE_SHARING
    - ENABLE_GUESTS=1
    - ENABLE_IPV6
    - ENABLE_LIPSYNC
    - ENABLE_NO_AUDIO_DETECTION
    - ENABLE_P2P
    - ENABLE_PREJOIN_PAGE
    - ENABLE_WELCOME_PAGE
    - ENABLE_CLOSE_PAGE
    - ENABLE_RECORDING
    - ENABLE_REMB
    - ENABLE_REQUIRE_DISPLAY_NAME
    - ENABLE_SIMULCAST
    - ENABLE_STATS_ID
    - ENABLE_STEREO
    - ENABLE_SUBDOMAINS
    - ENABLE_TALK_WHILE_MUTED
    - ENABLE_TCC
    - ENABLE_TRANSCRIPTIONS
    - ETHERPAD_PUBLIC_URL
    - ETHERPAD_URL_BASE
    - GOOGLE_ANALYTICS_ID
    - GOOGLE_API_APP_CLIENT_ID
    - INVITE_SERVICE_URL
    - JICOFO_AUTH_USER
    - MATOMO_ENDPOINT
    - MATOMO_SITE_ID
    - MICROSOFT_API_APP_CLIENT_ID
    - NGINX_RESOLVER
    - NGINX_WORKER_PROCESSES
    - NGINX_WORKER_CONNECTIONS
    - PEOPLE_SEARCH_URL
    - RESOLUTION
    - RESOLUTION_MIN
    - RESOLUTION_WIDTH
    - RESOLUTION_WIDTH_MIN
    - START_AUDIO_ONLY
    - START_AUDIO_MUTED
    - DISABLE_AUDIO_LEVELS
    - ENABLE_NOISY_MIC_DETECTION
    - START_BITRATE
    - START_VIDEO_MUTED
    - TESTING_CAP_SCREENSHARE_BITRATE
    - TESTING_OCTO_PROBABILITY
    - XMPP_AUTH_DOMAIN
    - XMPP_BOSH_URL_BASE
    - XMPP_DOMAIN
    - XMPP_GUEST_DOMAIN
    - XMPP_MUC_DOMAIN
    - XMPP_RECORDER_DOMAIN
    - TOKEN_AUTH_URL
  networks:
    sail:
      aliases:
        - ${XMPP_DOMAIN}

When I try to docker-compose up
I get the following error:
Failed to obtain a certificate from the Let's Encrypt CA
And this is my .env file

HTTP_PORT=8000
HTTPS_PORT=8443
JITSI_RESTART_POLICY=unless-stopped
XMPP_DOMAIN=meet.jitsi
XMPP_SERVER=xmpp.meet.jitsi
JITSI_CONFIG=~/.jitsi-meet-cfg

But I am getting this error:
Failed to obtain a certificate from the Let's Encrypt (New to Docker and Jitsi)
When I want to run my docker
and when browse https://loclhost:8443 on browser I get following error:

# This site can’t be reached

Please help me, let me know what I am missing?

1 Like