Docker for Windowsä¸ã§ãGitLabãåãããã
ã¯ããã«
GitLab Docker images | GitLabã®éãããã¨Docker for Windowsä¸ã§GitLabãåããã¾ããã§ããã
åããæ¹ãéãã¾ã§ã¡ãã£ã¨æéãæã£ãããã¡ã¢ã
ç°å¢
ååä»ãããªã¥ã¼ã ã使ãã°åããã¾ã
ååä»ãããªã¥ã¼ã ã使ç¨ããdocker-compose.ymlã®ä¾ã以ä¸ã«ç¤ºãã¾ãã
version: "2.2" services: gitlab: image: 'gitlab/gitlab-ce:11.10.1-ce.0' restart: always hostname: 'localhost' environment: GITLAB_OMNIBUS_CONFIG: | external_url 'http://localhost' ports: - '10080:80' - '10443:443' - '10022:22' volumes: - 'gitlab-log:/var/log/gitlab' - 'gitlab-config:/etc/gitlab' - 'gitlab-data:/var/opt/gitlab' volumes: gitlab-log: gitlab-config: gitlab-data:
GitLab Docker images | GitLabã®docker-compose.ymlã¯ãã¹ãã®ãã£ã¬ã¯ããªããã¦ã³ããã¦ãããããWindowsããã¹ãã ã¨ããã¼ããã·ã§ã³è¨å®ã§å¤±æãã¦èµ·åãã¦ããªãã®ã§ãã
ååä»ãããªã¥ã¼ã ã®ä¸ãè¦ãã®ã¯ã¡ãã£ã¨é¢å
以ä¸ã®ããããã®æ¹æ³ã使ç¨ãããã¨ã«ãªãã¾ãã
ãã¹ãLinux(ãã¤ãã¼ãã¤ã¶åã®è»½éLinux)ã®ã«ã¼ããã£ã¬ã¯ããªããã¦ã³ããã
Dockerでデータボリュームを使ってみる|crz33ã®ã管çããªã¥ã¼ã ã¯ã©ãã«ããã®ãï¼ãã«å ·ä½çãªæ¹æ³ãè¨è¼ããã¦ãã¾ãã
ä½è«ã§ããGit for Windowsã«å梱ã®Git BASHã§ã¯ãã¾ãã§ãã¾ããã§ãããPowerShellã使ãã¾ãããã
è¦ããããªã¥ã¼ã ã1å1åãã¦ã³ããã
ä¾ãã°ã以ä¸ã®ããã«ãªãã¾ãã
docker run --name mount_test -v practiceofgitlab_gitlab-log:/gitlab_gitlab-log -it alpine:latest sh
Gitlabã®ä½¿ãæ¹ãç¥ãã®ã«ã¯ããæ¸ç±ããã
GitLabå®è·µã¬ã¤ã impress top gearã·ãªã¼ãºããå§ãã§ãã
ãã®æ¸ç±ããªãã£ãããGitlLabãã©ããããã®ãç解ããã®ã«ç§ã¯å¤å¤§ãªæéãè¦ããã§ãããã