Created
August 14, 2019 10:11
-
-
Save mattmusc/72b74406732b88f4851f2ee67f586b0e to your computer and use it in GitHub Desktop.
Set up Gitlab in docker
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
| version: 3 | |
| services: | |
| gitlab-ce: | |
| ports: | |
| - '8443:443' | |
| - '8000:80' | |
| - '2222:22' | |
| volumes: | |
| - '/srv/gitlab/config:/etc/gitlab' | |
| - '/srv/gitlab/logs:/var/log/gitlab' | |
| - '/srv/gitlab/data:/var/opt/gitlab' | |
| restart: always | |
| logging: | |
| options: | |
| max-size: 1g | |
| container_name: gitlab | |
| image: 'gitlab/gitlab-ce:latest' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment