-
-
Save edm00se/6d095caa3e2d9753b2b1d773a011ef23 to your computer and use it in GitHub Desktop.
sample docker compose config for GitLab
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.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