Last active
February 20, 2022 18:41
-
-
Save spy86/b89ecc049da2044b1c4ac7aa6c902aca to your computer and use it in GitHub Desktop.
Minimal GitLab env
This file contains hidden or 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: "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