File: //extra/DCPL/gitlab/docker-compose.yml
version: '3.6'
services:
web:
image: 'gitlab/gitlab-ce:15.10.1-ce.0'
restart: always
# hostname: 'git.dcpltechnology.com'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://git.dcpltechnology.com'
gitlab_rails['gitlab_shell_ssh_port'] = 9122
nginx['enable'] = true
nginx['listen_port'] = 9180
nginx['listen_https'] = false
nginx['client_max_body_size'] = 0
ports:
- '127.0.0.1:9180:9180'
# - '9122:22'
volumes:
- './gitlabData/config:/etc/gitlab'
- './gitlabData/logs:/var/log/gitlab'
- './gitlab/data:/var/opt/gitlab'
networks:
gitlab_network:
ipv4_address: 172.39.1.1
networks:
gitlab_network:
name: gitlab_network
ipam:
driver: default
config:
- subnet: 172.39.1.0/16