Unable to access domain name of gitlab on remote server created with docker

i spun up a docker container instance with the follow docker-compose.yml by following this https://docs.gitlab.com/omnibus/docker/#install-gitlab-using-docker-compose

My docker-compose.yml

web:
  image: 'gitlab/gitlab-ce:latest'
  restart: always
  hostname: 'gitlab.bob.com'
  environment:
    GITLAB_OMNIBUS_CONFIG: |
        external_url 'http://gitlab.bob.com:8929'
        gitlab_rails['gitlab_shell_ssh_port'] = 2224
        #nginx['redirect_http_to_https'] = true
        nginx['listen_port'] = 8929
        nginx['ssl_certificate'] = '/etc/gitlab/ssl/gitlab.crt'
        nginx['ssl_certificate_key'] = '/etc/gitlab/ssl/gitlab.key'
      # Add any other gitlab.rb configuration here, each on its own line
  ports:
    - '8929:8929'
    - '443:443'
    - '2224:22'
  volumes:
    - '/home/bob/gitlab/config:/etc/gitlab'
    - '/home/bob/gitlab/logs:/var/log/gitlab'
    - '/home/bob/gitlab/data:/var/opt/gitlab'

I am able to access the gitlab if i type in 172.29.128.166:8929 in Opera browser. If i type in 172.29.128.166:8929in chrome browser, I am unable to access it.
If I type in gitlab.bob.com:8929, I am unable to access gitlab.

My host and remote server are on the same network. How can i get this to work?

Source: StackOverflow