Created
October 1, 2021 10:15
-
-
Save avraampiperidis/d279addc5424fffd74d20fa6cdaf64d3 to your computer and use it in GitHub Desktop.
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
# This docker compose will start a gitlab instance, | |
version: "3.5" | |
services: | |
gitlab: | |
image: "gitlab/gitlab-ee:latest" | |
restart: always | |
hostname: "localhost" | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'https://localhost' | |
registry_external_url 'https://localhost:5050' | |
gitlab_rails['gitlab_shell_ssh_port'] = 22 | |
ports: | |
- "80:80" | |
- "443:443" | |
- "22:22" | |
- "5050:5050" | |
volumes: | |
- "/srv/gitlab/config:/etc/gitlab" | |
- "/srv/gitlab/logs:/var/log/gitlab" | |
- "/srv/gitlab/data:/var/opt/gitlab" | |
networks: | |
- gitlab | |
networks: | |
gitlab: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment