That port was me attempting to try other ports to see if I could get anything working. What I’d like my compose to look like is simply this:
version: "3"
services:
nginx-proxy:
restart: always
image: jwilder/nginx-proxy
ports:
- "80:80"
- "443:443"
- "5000:5005"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- /srv/nginx/certs:/etc/nginx/certs
web:
restart: always
image: 'gitlab/gitlab-ee:latest'
hostname: 'gitlab.lan'
environment:
VIRTUAL_HOST: gitlab.lan,gitlab
ports:
- 22:22
volumes:
- '/srv/gitlab/config:/etc/gitlab'
- '/srv/gitlab/logs:/var/log/gitlab'
- '/srv/gitlab/data:/var/opt/gitlab'