참고: 도커 설치
folder/docker-compose.yml
- 확인/변경사항
- 서비스명
- 컨테이너명
- 호스트 포트(9080 → 80 등으로 변경)
- external_url (브라우저에서 접근할 URL)
version: '3'
services:
gitlab-svc:
image: gitlab/gitlab-ce:14.7.1-ce.0
container_name: gitlab-con
restart: always
ports:
- 9080:80
environment:
GITLAB_SKIP_UNMIGRATED_DATA_CHECK: true
GITLAB_OMNIBUS_CONFIG: |
external_url '<https://git.mydomain.com>'
nginx['listen_port'] = 80
nginx['listen_https'] = false
# gitlab_rails['gitlab_shell_ssh_port'] = 8022
# Add any other gitlab.rb configuration here, each on its own line
volumes:
- ./gitlab-git/config:/etc/gitlab
- gitlab-git-logs:/var/log/gitlab
- gitlab-git-data:/var/opt/gitlab
volumes:
gitlab-git-data:
gitlab-git-logs:
초기 계정
- ID:
root
- PW
cat /etc/gitlab/initial_root_password | grep Password: