Hello,
I am building a gitlab server on Docker. I am building it with docker-compose. The build works fine, but for some reason the server is only listening on IPV6 for 80,443,and 22. I changed the default ssh port on the host so it would not conflict with gitlab. Any idea what I am missing for it to listen on both ipv4 and 6?
jolim@docker01:~ netstat -nat | grep LISTEN tcp 0 0 0.0.0.0:2222 0.0.0.0:* LISTEN tcp6 0 0 :::2222 :::* LISTEN tcp6 0 0 :::80 :::* LISTEN tcp6 0 0 :::49211 :::* LISTEN tcp6 0 0 :::443 :::* LISTEN jolim@docker01:~
---
version: "3"
services:
gitlab:
image: gitlab/gitlab-ce:latest
restart: unless-stopped
container_name: gitlab01
environment:
GITLAB_OMNIBUS_CONFIG:
#external_url 'https://gitlab.example.com'
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_port'] = 465
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_tls'] = true
gitlab_rails['gitlab_email_enabled'] = true
gitlab_rails['gitlab_email_subject_suffix'] = 'GITLAB'
gitlab_rails['backup_keep_time'] = 2592000
letsencrypt['enable'] = true
letsencrypt['key_size'] = 2048
letsencrypt['auto_renew'] = true
letsencrypt['auto_renew_hour'] = 0
letsencrypt['auto_renew_minute'] = 0
letsencrypt['auto_renew_day_of_month'] = "*/7"
volumes:
- GL_Config:/etc/gitlab
- GL_Logs:/var/log/gitlab
- GL_Data:/var/opt/gitlab
ports:
- 80:80
- 443:443
- 22:22
volumes:
GL_Config:
GL_Logs:
GL_Data:
driver: local