Skip to content

Instantly share code, notes, and snippets.

@edm00se
Created November 1, 2017 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edm00se/6d095caa3e2d9753b2b1d773a011ef23 to your computer and use it in GitHub Desktop.
Save edm00se/6d095caa3e2d9753b2b1d773a011ef23 to your computer and use it in GitHub Desktop.
sample docker compose config for GitLab
version: '2.1'
services:
app:
container_name: gitlab
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'docker.local'
ports:
- "8080:80"
- "8443:443"
- "2222:22"
volumes:
- ./config:/etc/gitlab
- ./logs:/var/log/gitlab
- ./data:/var/opt/gitlab
- ./ssl:/etc/gitlab/ssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment