Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
Tags
- lsof
- port
- Windows 10
- maVen
- ssh
- 공통표준용어
- Quartz
- GIT
- context
- IntelliJ
- JavaScript
- Eclipse
- grep
- 단축키
- VirtualBox
- Mac
- find
- resource
- Source
- Windows
- netsh
- DB 도메인
- import
- 네트워크
- bash
- copy-dependencies
- tomcat
- web.xml
- xargs
- profile
Archives
- Today
- Total
develog
[mac] docker 로 gitlab 설치 본문
GITLAB_HOME 설정
mkdir ~/gitlab
export GITLAB_HOME=$HOME/gitlab
Docker Engine 으로 설치
# Community Edition
sudo docker run --detach \
--hostname gitlab.example.com \
--publish 443:443 --publish 80:80 --publish 22:22 \
--name gitlab \
--restart always \
--volume $GITLAB_HOME/config:/etc/gitlab \
--volume $GITLAB_HOME/logs:/var/log/gitlab \
--volume $GITLAB_HOME/data:/var/opt/gitlab \
gitlab/gitlab-ce:latest
# 볼륨 에러나면 볼륨 빼고 다시 실행
sudo docker run --detach \
--hostname gitlab.example.com \
--publish 443:443 --publish 80:80 --publish 22:22 \
--name gitlab \
gitlab/gitlab-ce:latest
로그 확인
sudo docker logs -f gitlab
위 로그가 보이면 브라우저에서 접속되는지 확인
http://localhost
edit config
sudo docker exec -it gitlab /bin/bash
sudo docker exec -it gitlab editor /etc/gitlab/gitlab.rb
restart gitlab
sudo docker restart gitlab
reconfigure GitLab
gitlab-ctl reconfigure
docs.gitlab.com/omnibus/docker/
'Dev > git' 카테고리의 다른 글
[git] fatal: refusing to merge unrelated histories (0) | 2021.05.19 |
---|---|
[windows] docker 로 gitlab 설치 (0) | 2021.05.13 |
[git] fatal: Not a valid object name: 'master'. (0) | 2021.03.31 |
[git] merge vs rebase (0) | 2021.03.31 |
[git] git branching model (0) | 2021.03.31 |
Comments