Skip to content

Instantly share code, notes, and snippets.

@leoluyi
Created May 11, 2020 13:02
Show Gist options
  • Save leoluyi/19118329f486896dce3ef9f1bb5fbd89 to your computer and use it in GitHub Desktop.
Save leoluyi/19118329f486896dce3ef9f1bb5fbd89 to your computer and use it in GitHub Desktop.
GitLab Docker Compose
version: '3.2'
services:
gitlab:
image: gitlab/gitlab-ce:12.10.3-ce.0
hostname: localhost
container_name: gitlab
restart: always
volumes:
- gitlab_config:/etc/gitlab
- gitlab_logs:/var/log/gitlab
- gitlab_data:/var/opt/gitlab
ports:
- 9000:80
- 9001:443
networks:
- devel-net
networks:
devel-net:
volumes:
gitlab_config:
gitlab_logs:
gitlab_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment