Created
September 10, 2020 16:46
-
-
Save nus/9abc5bef419c1c3832d2ee1751ab5497 to your computer and use it in GitHub Desktop.
Gitlab をローカルに立てるための docker-compose ファイル。https://qiita.com/gentaro/items/7dec88e663f59b472de6 を改変。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
hostname: 'localhost' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'http://localhost:9010' | |
gitlab_rails['gitlab_shell_ssh_port'] = 2022 | |
ports: | |
- '9010:9010' | |
- '2022:22' | |
volumes: | |
- './volume/config:/etc/gitlab' | |
- './volume/logs:/var/log/gitlab' | |
- './volume/data:/var/opt/gitlab' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment