Created
January 1, 2024 20:48
-
-
Save markuskreitzer/80251e05aa09e9700783cb28a435c133 to your computer and use it in GitHub Desktop.
A Gitlab Docker Compose Deployment - For MacOS Sonoma with Docker on M1
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: '3.6' | |
services: | |
web: | |
image: 'gitlab/gitlab-ee:latest' | |
platform: 'linux/amd64' | |
restart: always | |
hostname: 'g.example.dev' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'https://g.example.dev:8443' | |
#gitlab_rails['gitlab_shell_ssh_port'] = 222 | |
#gitlab_rails['lfs_enabled'] = true | |
#gitlab_rails['initial_root_password'] = 'password' | |
# Add any other gitlab.rb configuration here, each on its own line | |
ports: | |
- '8080:80' | |
- '8443:8443' | |
- '222:22' | |
volumes: | |
- '$GITLAB_HOME/config:/etc/gitlab' | |
- '$GITLAB_HOME/logs:/var/log/gitlab' | |
- '$GITLAB_HOME/data:/var/opt/gitlab' | |
shm_size: '256m' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment