Skip to content

Instantly share code, notes, and snippets.

@allen0125
Created November 14, 2018 11:11
Show Gist options
  • Save allen0125/b00284fc589a2886e0460f036d935148 to your computer and use it in GitHub Desktop.
Save allen0125/b00284fc589a2886e0460f036d935148 to your computer and use it in GitHub Desktop.
gitlab-compose file
version: '3'
services:
gitlab:
image: gitlab/gitlab-ce
restart: always
container_name: gitlab
hostname: "gitlab.allen0125.com"
ports:
- 11443:443
- 11080:80
- 11022:22
volumes:
- '/volume/gitlab/config:/etc/gitlab'
- '/volume/gitlab/logs:/var/log/gitlab'
- '/volume/gitlab/data:/var/opt/gitlab'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment