Files
coolify/templates/compose/gitlab.yaml
Leon Adomaitis 768e27d68c Add metadata
2024-06-23 04:12:03 +02:00

25 lines
1.1 KiB
YAML

# documentation: https://docs.gitlab.com/ee/install/docker.html
# slogan: GitLab: The all-in-one DevOps platform for seamless collaboration and continuous delivery.
# tags: gitlab, devops, continuousintegration, continuousdelivery, versioncontrol, collaboration, ci/cd, sourcecodemanagement, automation, codereview, agiledevelopment, projectmanagement, opensource, repositoryhosting, pipelineautomation, git, softwaredevelopment, issuetracking, teamcollaboration, deploymentautomation, securityintegration
# icon: svgs/gitlab.svg
# port: 80
services:
gitlab:
image: 'gitlab/gitlab-ce:latest'
container_name: gitlab
restart: always
hostname: '${SERVICE_URL_GITLAB}'
environment:
- SERVICE_FQDN_GITLAB_80
- EXTERNAL_URL=$SERVICE_FQDN_GITLAB
- GITLAB_HOST=$SERVICE_FQDN_GITLAB
- GITLAB_OMNIBUS_CONFIG="external_url=${SERVICE_FQDN_GITLAB}; gitlab_rails['gitlab_shell_ssh_port'] = 2222"
ports:
- '2222:22'
volumes:
- 'gitlab-config:/etc/gitlab'
- 'gitlab-logs:/var/log/gitlab'
- 'gitlab-data:/var/opt/gitlab'
shm_size: 256m