Skip to content

Instantly share code, notes, and snippets.

@spy86
Last active Feb 20, 2022
Embed
What would you like to do?
Minimal GitLab env
version: "3.9"
services:
web:
image: 'gitlab/gitlab-ce:latest'
hostname: 'localhost'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://localhost:8081'
ports:
- '8080:8081'
volumes:
- '$GITLAB_HOME/config:/etc/gitlab'
- '$GITLAB_HOME/logs:/var/log/gitlab'
- '$GITLAB_HOME/data:/var/opt/gitlab'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment