version: '3.8' services: gitlab: image: gitlab/gitlab-ce:latest container_name: gitlab restart: unless-stopped hostname: gitlab ports: - "2224:22" - "9080:80" - "9443:443" volumes: - ./config:/etc/gitlab - ./logs:/var/log/gitlab - ./data:/var/opt/gitlab environment: GITLAB_OMNIBUS_CONFIG: | external_url 'https://gitlab.g4st3r.ru' gitlab_rails['gitlab_shell_ssh_port'] = 2224