LoginSignup
5

More than 5 years have passed since last update.

docker composeでgitlab一瞬で立ち上がる

Last updated at Posted at 2016-11-10

一瞬でgitlabが利用できるようになってビックリしました。
こちら立ち上げ方法紹介します。

前提として

dockerの知識が必要です。

インストール

  1. ターミナルで下記の命令を叩きます。
    docker pull sameersbn/gitlab:8.13.3
    これでgitlabのdockerイメージがローカルにダウンロードされます。

  2. ターミナルでフォルダーを作って下記の命令叩きます。
    wget https://raw.githubusercontent.com/sameersbn/docker-gitlab/master/docker-compose.yml
    これでdocker-composeの設定ファイルをダウンロードします。

  3. 下記の命令を叩きます。
    docker-compose up
    gitlabのコンテイナーが立ち上がります。

これが終わったらKitematicから3つのコンテイナーが走ってるのを見れます。
スクリーンショット 2016-11-10 11.20.23.png

これで下記のurlからgitlabメインページが見れます。
http://192.168.99.100:10080/

ここで192.168.99.100はdocker-machineのローカルIPです。

ログイン時のUserIdはrootでパスワードが設定できます。

以上

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5