Created
May 7, 2020 18:09
-
-
Save huyinghuan/409d5cc6ef4e66cf45bf972f27c481ae to your computer and use it in GitHub Desktop.
This file contains 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: "2.0" | |
services: | |
gitlab: | |
image: gitlab/gitlab-ce:12.10.3-ce.0 | |
container_name: gitlab | |
restart: always | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'http://test.com' | |
ports: | |
- "80:80" | |
- "443:443" | |
- "22:22" | |
volumes: | |
- "/home/ec/mywork/docker/gitlab/config:/etc/gitlab" | |
- "/home/ec/mywork/docker/gitlab/logs:/var/log/gitlab" | |
- "/home/ec/mywork/docker/gitlab/data:/var/opt/gitlab" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment